Forums / Developer / eZDebug in a cronjob
Pesti Pal
Monday 03 March 2008 2:43:54 am
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
eZDebug::writeError("logme");
Can this be fixed?
Many thanks
Gaetano Giunta
Monday 03 March 2008 4:22:38 am
This is actually a feature ;)
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...
cheersGaetano
Principal Consultant International Business Member of the Community Project Board
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0002 secs