This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » eZDebug in a cronjob

eZDebug in a cronjob

eZDebug in a cronjob

Monday 03 March 2008 11:43:54 am - 2 replies

Hi all,

Can anyone tell me why eZDebug doesn't log anithing when it is in a cronjob?

i.e. doesn't work from a cronjob


Can this be fixed?

Many thanks

Monday 03 March 2008 1:22:38 pm

This is actually a feature blunk.gif Emoticon

Try running runcronjobs --help and you should find out that there is a switch to enable logs from cronjobs: -logfiles.

I also recommend using -d to enable debugging of cronjobs.

And yes, I know it should be better documented and possibly even turned to on by default...


Thursday 14 November 2013 3:14:12 pm

Just one note to save you time...

You have to put the --logfiles and --debug switches in front of the parameter that defines the cronjob name. Putting them after the cronjob name won't work since that parameters will be passed to the script that does the cronjob, and not to runcronjobs.php.

So the right way to call it is:

php runcronjobs.php --logfiles --debug your_cronjob_nameĀ 

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from