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.

eZ debug

Timing: Jan 18 2025 22:19:33
Script start
Timing: Jan 18 2025 22:19:33
Module start 'layout'
Timing: Jan 18 2025 22:19:33
Module start 'content'
Timing: Jan 18 2025 22:19:34
Module end 'content'
Timing: Jan 18 2025 22:19:34
Script end

Main resources:

Total runtime0.6075 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.0313152.6250
Module start 'layout' 0.00550.0027 741.656339.4453
Module start 'content' 0.00820.5978 781.1016523.2969
Module end 'content' 0.60600.0014 1,304.39848.1719
Script end 0.6074  1,312.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5062160.0002
Check MTime0.00130.2059160.0001
Mysql Total
Database connection0.00080.132210.0008
Mysqli_queries0.566193.1953540.0105
Looping result0.00050.0760520.0000
Template Total0.580895.620.2904
Template load0.00180.298620.0009
Template processing0.579095.310320.2895
Template load and register function0.00010.020310.0001
states
state_id_array0.00080.130410.0008
state_identifier_array0.00060.091120.0003
Override
Cache load0.00150.2412190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.125420.0004
Fetch class attribute name0.00120.198230.0004
XML
Image XML parsing0.00190.313620.0010
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00200.3294160.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs