In an extbase extension, how to access the persistence layer from a scheduler task?
What sounds a bit academic in the title is actually quite straightforward: I have set up a TYPO3 6.1 extbase extension that I've equipped with a scheduler task. The task is supposed to import a CSV file and save it into the extension's database fields. But how do I tell the scheduler task to use the extension's model etc. and save the received data into the persistence layer? I've seen this answer to a similar question: Execute repository functions in scheduler task and I think it points the right way, but I think need a full example to start understanding how the dependency injection works.