[TYPO3-mvc] Calling Extbase Controller/Action from scheduler task (CLI)???
Martin Kutschker
masi-no at spam-typo3.org
Tue Jun 29 23:27:34 CEST 2010
Am 29.06.2010 18:23, schrieb roberto blanko:
> Hello again,
>
> I'm wondering if it's possible to use Extbase in an cronjob realized with
> TYPO3's scheduler. That would be exactly what I need right now. Can I
> somehow create an Extbase dispatcher from within a scheduler task and fire a
> specific action of a specific controller with having all of the context I'm
> used to in Extbase'ish backend modules?
I don't think you can call the actions directly because you're not in a HTTP context, but all you
need in a CLI from the dispatcher is the initialization of the framework. It'll be a bit of a hack,
but it will work.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list