Problem with cronjob using http

Author Message

Dominik LEE

Sunday 06 August 2006 1:47:21 am

I just added an RSS import to my website.

I managed to run cronjob.php throught the shell with this command line :

/usr/bin/php -C runcronjobs.php

all RSS where imported .

But when I configure using the index.php file, nothing happens (after clearing cache....)

include_once( 'kernel/classes/notification/eznotificationeventfilter.php' );

 eZNotificationEventFilter::process();

I can't find any answer in other forum topics.

thanks

Dominik LEE

Tuesday 08 August 2006 11:31:44 pm

Is there another way than modifying index.php to get cronjobs executed automatically ?

Any help would be highly appreciated

Kristof Coomans

Wednesday 09 August 2006 1:45:27 am

Hello Dominik

You can let the cron daemon run it for you at a specified date/time. See http://en.wikipedia.org/wiki/Crontab

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 31 2025 01:27:02
Script start
Timing: Jan 31 2025 01:27:02
Module start 'layout'
Timing: Jan 31 2025 01:27:02
Module start 'content'
Timing: Jan 31 2025 01:27:02
Module end 'content'
Timing: Jan 31 2025 01:27:02
Script end

Main resources:

Total runtime0.0249 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0038 739.4766220.7188
Module start 'content' 0.00890.0144 960.1953997.8516
Module end 'content' 0.02330.0016 1,958.046929.9922
Script end 0.0249  1,988.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.5036140.0002
Check MTime0.00114.5678140.0001
Mysql Total
Database connection0.00083.335510.0008
Mysqli_queries0.00249.536130.0008
Looping result0.00000.072710.0000
Template Total0.00104.010.0010
Template load0.00083.207410.0008
Template processing0.00020.826010.0002
Override
Cache load0.00062.213210.0006
General
dbfile0.00156.173980.0002
String conversion0.00000.032540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs