runcronjobs.php with eZ3.1 final

Author Message

Vincent Saulnier

Friday 08 August 2003 11:43:29 am

I'm not able to run runcronjobs.php from "crond".

I use "php -C /path/to/ez/runcronjobs.php" and it doesn't work.

I get this :

X-Powered-By: PHP/4.2.3
Content-type: text/html

<br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezini.php' for inclusion (include_path='') in <b/>path/to/ez/runcronjobs.php</b> on line <b>36</b><br /> <br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezdebug.php' for inclusion (include_path='') in <b>/path/to/ez/runcronjobs.php</b> on line <b>37</b><br /> <br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezdebugsetting.php' for inclusion (include_path='') in <b/path/to/ez/runcronjobs.php</b> on line <b>38</b><br /> <br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezextension.php' for inclusion (include_path='') in <b>/path/to/ez/runcronjobs.php</b> on line <b>39</b><br /> <br />
<b>Warning</b>: Failed opening 'lib/ezutils/classes/ezmodule.php' for inclusion (include_path='') in <b>/path/to/ez/runcronjobs.php</b> on line <b>40</b><br /> <br /> <b>Fatal error</b>: Undefined class name 'ezdebug' in <b>/path/to/ez/runcronjobs.php</b> on line <b>42</b><br />

What am I doing wrong?

Paul Borgermans

Friday 08 August 2003 1:29:41 pm

You should first cd to the ez publish directory

something like:

cd /path/to/ezpublish; php -C runcronjobs.php

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.