[TYPO3-dev] Scheduler Problem

Stefano Cecere scecere at krur.com
Wed May 22 10:52:20 CEST 2013


jsuta note: give to the _cli_scheduler BE users all the permissions it 
needs to access the data

(once i got crazy because i didn't know that :)

and use devlog to log all variables (it's the only way i could find to 
debug schedulers!)



On 22/05/13 10:31, Philipp wrote:
> Hey
>
> I created a task for the scheduler that determines all content-articles
> which will reach their endtime setting within the next 7 days and sends
> an email to its author. If i start this task manually everything works
> and the job is done as expected.
>
> But if its started via cronjob it gets an Error, the errormessage is not
> displayed, it just says: "Wahrscheinlich war sie zu groß" (Probably it
> was too big).
>
> I added the cronjob in the www-datas crontab
> sudo su -c "crontab e" www-data
> --
> 17 10 * * * /usr/bin/php5 /var/www/project/typo3/cli_dispatch.phpsh
> scheduler
>
> The cronjob does trigger, but i get this error.... Manual starting is
> possible though.
> I created the cronjob user (_cli_scheduler) using the link in the backend.
>
> My Task is registered this way:
>
> $GLOBALS= array(
>      'extension' => $_EXTKEY,
>      'title' => 'LLL:EXT:' . $_EXTKEY .
> '/Resources/Private/Language/locallang.xlf:task.reminder.name',
>      'description' => 'LLL:EXT:' . $_EXTKEY .
> '/Resources/Private/Language/locallang.xlf:task.reminder.description'
> );
>
> The Task itself looks like:
> http://pastebin.com/A9NYSUyZ
>
> Got any idea?


-- 

-- --- ----- -------

Stefano Cecere
KRUR studio - http://krur.com



More information about the TYPO3-dev mailing list