Forums / Developer / error when running runcronjobs.php

error when running runcronjobs.php

Author Message

justin kazadi

Friday 03 October 2008 8:44:23 am

hello all,
i have create an workflow and connected it to an trigger. so i have to run the runcronjobs.php script within the shell by using php.
My OS is window.
the command is:


C:\wamp\bin\php\php5.2.5>php "C:\wamp\www\siteezpublish\site\runcronjobs.php"

i have this error:


Warning: require_once(lib/ezutils/classes/ezdebug.php): failed to open stream: N
o such file or directory in C:\wamp\www\siteezpublish\site\runcronjobs.php\kernel\classes\ezp
ersistentobject.php on line 57

Fatal error: require_once(): Failed opening required 'lib/ezutils/classes/ezdebu
g.php' (include_path='.;C:\php5\pear') in C:\wamp\www\siteezpublish\site\runcronjobs.php\kern
el\classes\ezpersistentobject.php on line 57

what can i do?
thanks in advance

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Ɓukasz Serwatka

Friday 03 October 2008 11:20:02 am

Hi,

runcronjobs.php _must_ be executed from eZ Publish root folder (C:\wamp\www\siteezpublish\site\ in your case). Try following:

cd C:\wamp\www\siteezpublish\site\
C:\wamp\bin\php\php5.2.5\php runcronjobs.php

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog