XF 2.2 Cron job and timezone

Robert9

Well-known member
I have added a new cronjob. When i start it by hand (and xdebug it) everything is ok, but the job is done twice times sometimes.
But the job is not done automatically.

It is a local machine with Ubuntu. The hardware time is Etc/Utc; the software time also.
May someone has an idea why a cron could be started manualy, but not automatically?
 
Yes - you do need users to trigger Cron tasks.

That's exactly why I wrote the CLI Job Runner :D

By the way - this functionality is included out of the box in XF 2.2 with no addon required. My JobRunner addon just adds some more functionality.

You can find the settings in: System and performance > Job run trigger
 
Yes, i have found it, but just a minute ago i was surprised ...

Yesterday i have set up the server cron job, test it and set a crontab -e;
then i finished my job at late night.
Now i sit here again and i am wondering why nothing is happen. Finally i have watched

?options/groups/performance/

and see that the option is set again to Activity based trigger

Maybe i was drunk, maybe i walk during sleep - but probably not. So the question is:

How could it be that this option is changed over night again?
 
Last edited:
Top Bottom