[TYPO3-mvc] Extbase 1.3.0 and scheduler
Lim Chivy
chivy at web-essentials.asia
Fri Feb 11 06:11:06 CET 2011
On 2/8/2011 9:58 PM, roberto blanko wrote:
>> How does your scheduler code look like now?
>>
>
> It looks like this (according to Braulio's example. The clean way according
> to Franz doesn't work as Braulio mentioned before):
>
> $configuration = array(
> 'extensionName' => 'my_ext',
> 'pluginName' => 'Pi1'
> );
>
> $_GET['tx_extension_pi1']['controller'] = 'ExportTask';
> $_GET['tx_extension_pi1']['action'] = 'run';
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['my_ext']['modules']['Pi1']['controllers']
> = array(
> 'ExportTask' => array('actions' => array('run'))
> );
>
> $bootstrap = new Tx_Extbase_Core_Bootstrap();
> return $bootstrap->run('', $configuration);
Hi all,
I use the scheduler code above, and it works on the Backend when I click
to execute the schedler manualy, but it does not work when it is
executed from the crontab "CLI". Does anyone know why it works in the
Backend, but from crontab "CLI" not?
Thanks,
Chivy
More information about the TYPO3-project-typo3v4mvc
mailing list