Wednesday 11 April 2007 2:29:42 pm
When I made my first eZ steps, I also had hard time trying to figure it out whether runcronjobs.php script has done anything at all. Now I know, that the script provides feedback and being able to analyze it is a must. The best way for me is by executing runcronjobs via linux shell (PHP CLI must be installed and configured). It is also possible to send the results to the browser, in case of my hosting environment it required commenting out one line in /kernel/classes/ezscript.php, near line 180:
...
if(php_sapi_name()!='cli') {
...
exit(1); // you comment this line out
}
...
It is all administrative work, though...
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|