Forums / Install & configuration / ezpublish.cron help!!

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

eZ debug

Timing: Jan 19 2025 01:08:42
Script start
Timing: Jan 19 2025 01:08:42
Module start 'content'
Timing: Jan 19 2025 01:08:42
Module end 'content'
Timing: Jan 19 2025 01:08:42
Script end

Main resources:

Total runtime0.8175 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 590.8516180.8359
Module start 'content' 0.00610.6328 771.6875521.1250
Module end 'content' 0.63890.1785 1,292.8125332.7813
Script end 0.8175  1,625.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5081210.0002
Check MTime0.00150.1811210.0001
Mysql Total
Database connection0.00060.068210.0006
Mysqli_queries0.713687.28581940.0037
Looping result0.00230.28431920.0000
Template Total0.786996.320.3934
Template load0.00180.222820.0009
Template processing0.785096.028120.3925
Template load and register function0.00010.012410.0001
states
state_id_array0.00120.142410.0012
state_identifier_array0.00110.139620.0006
Override
Cache load0.00160.1933280.0001
Sytem overhead
Fetch class attribute can translate value0.00180.222130.0006
Fetch class attribute name0.00160.196550.0003
XML
Image XML parsing0.00120.141930.0004
class_abstraction
Instantiating content class attribute0.00000.003860.0000
General
dbfile0.02352.8688330.0007
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs