cro jobs not working

Author Message

Ted Striker

Monday 09 February 2004 4:54:01 am

Hello there,

I have noticed that my site cron jobs dont work and the site does not refresh contents including new approved data (following the excellent tutorial available in your documentation, new guestbook approved entries dont show up authomatically every 5 minutes). When running runcronjobs.php manually I guet The following error:

#!/usr/bin/env php
Notice: Undefined variable: argv in c:\apache\www\ezpublish\runcronjobs.php on line 105
Running cronjobs/workflow.php Checking for workflow processes Status list Workflow done(2): 2 2 out of 2 processes was finished Running cronjobs/notification.php Starting notification event processing Done Running cronjobs/linkcheck.php Checking link ... All links have been checked! Running cronjobs/unpublish.php classes:array(0) { } Running cronjobs/rssimport.php

But the cronjob seems to work, for the pproved content shows in the guestbook. Where can I find the way to configuring my apache to run cron jobs correctly? Is there any tutorial aiut there?

My system: Win 2K + Apache 1.3 + PHP 4.3.4

Thanks in advance!

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Vidar Langseid

Wednesday 11 February 2004 1:52:03 am

Looks like your PHP is not compiled without CLI
http://www.php.net/release_4_3_0.php
http://www.php.net/manual/en/features.commandline.php

Because of this, the runcronjobs.php script is not capable of getting any arguments you may supply on the command line.

So, runcronjobs.php will work, as long as you don't send additional parameters on the commandline (like "php runcronjobs.php --help")

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