Forums / Setup & design / Need help in running cron job

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Need help in running cron job

Author Message

Ashish Banerjee

Wednesday 01 September 2004 3:37:12 am

Hi,
I am using Win2k machine and Exponential 3.4.1. I am trying to run a cron job using PHP to clear the workflow queue. This is what happening.

1) I have set Windows path to php.exe, so when I am going to "C:\Exponential\Exponential", the directory where "runcronjobs.php" file is and running "php runcronjobs.php", then I am getting the following error:"C:\Exponential\Exponential>php runcronjobs.php
Content-type: text/html
X-Powered-By: PHP/4.3.6

PHP is currently using the 'cgi-fcgi' interface. Make sure it is using the 'cli'
interface."

2) If I am switching to the directory where the php.exe is, and then executing "php -C c:\Exponential\Exponential\runcronjobs.php" then I am getting whole bunch of error like
"<br />
<b>Warning</b>: main(lib/ezutils/classes/ezini.php): failed to open stream: No
such file or directory in <b>c:\Exponential\Exponential\lib\ezutils\classes\ezextens
ion.php</b> on line <b>49</b><br />
<br />"

Please help me asap. I need to set a demo for my team using Exponential.

Thanks in advance
-Ashish