[TYPO3-mvc] Creating an Instance of an extbase extension in a cli script

Franz Koch typo3.RemoveForMessage at elements-net.de
Fri Oct 1 10:12:41 CEST 2010


Hey,

> I'm currently writing a cronjob (with t3lib_cli) for sending Mails depending on data of my extbase extension.
>
> How can I create an instance and then get the records/objects via the repository methods? Is that posssible?

you need to create a fake dispatcher and are then able to use your 
extbase controllers etc. Please search the list on how to do this - it's 
been asked a few times already. Thanks.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list