ezpublish.cron help!!

Author Message

Alessandro Cipriani

Wednesday 17 December 2003 12:36:41 am

hi all
i'm tryin' to automatic run the ezpublish.cron script in order to flush the pending list. i've seen that there is a file named ezpublish.cron that seems to be able to execute runcronjob.php every 15 minutes.
i modified the file with the path of php and so on but it seems to not work.

the content is:

# This must be set to the directory where eZ publish is installed.
EZPUBLISHROOT=c:\programmi\ezpublish\ezpublish

# Location of the PHP Command Line Interface binary.
PHP=c:\programmi\ezpublish\php\php

# Executes the runcronjobs.php script every 15th minute.
0,15,30,45 * * * * cd $EZPUBLISHROOT; $PHP -C runcronjobs.php -q 2>&1

any hint??

thanx

Balazs Halasy

Wednesday 17 December 2003 1:48:59 am

Hi,

It seems that you're running Windows, right? Well,
as far as I'm concerned, Microsoft Windows does not have a cron daemon/service. Cron is a UNIX thing that is used to run various scripts/programs periodically. If you want to run the runcronjobs.php script at specific times on Windows, I suggest that you use some kind of scheduling system. Perhaps you can use the "Windows Scheduler" solution. You need to actually execute the cronjobs script like this: "php -C runcronjobs.php"

Balazs

Alessandro Cipriani

Wednesday 17 December 2003 2:23:20 am

yes, you're right, i'm using windows
i'll execute a batch file using the windows utility

thanx a lot for the support

Alessandro

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 19 2025 03:37:09
Script start
Timing: Jan 19 2025 03:37:09
Module start 'layout'
Timing: Jan 19 2025 03:37:09
Module start 'content'
Timing: Jan 19 2025 03:37:10
Module end 'content'
Timing: Jan 19 2025 03:37:10
Script end

Main resources:

Total runtime1.2061 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 590.2891152.6250
Module start 'layout' 0.00880.0035 742.914139.4453
Module start 'content' 0.01231.1922 782.3594516.0469
Module end 'content' 1.20460.0015 1,298.406312.1719
Script end 1.2061  1,310.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2786160.0002
Check MTime0.00130.1118160.0001
Mysql Total
Database connection0.00150.122610.0015
Mysqli_queries1.153995.6697570.0202
Looping result0.00060.0465550.0000
Template Total1.158696.120.5793
Template load0.00210.174320.0011
Template processing1.156595.888120.5783
Template load and register function0.00010.008510.0001
states
state_id_array0.00110.090010.0011
state_identifier_array0.00220.179120.0011
Override
Cache load0.00170.1380280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.046520.0003
Fetch class attribute name0.00140.113550.0003
XML
Image XML parsing0.00110.092020.0006
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00110.0894220.0000
String conversion0.00000.000840.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs