cronjob parts and "crons"

Author Message

Brendan Pike

Wednesday 20 October 2004 11:28:54 pm

I've noticed on a host I'm using that cronjobs won't run if I include cron parts in the startment like this:

This one works from command line but not in a cron.

53 * * * * cd /var/www/website; /usr/local/bin/php runcronjobs.php hourly

But this one does work from cron

53 * * * * cd /var/www/website; /usr/local/bin/php runcronjobs.php

What is the correct formating I can use to get around this?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

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 15:19:52
Script start
Timing: Jan 19 2025 15:19:52
Module start 'layout'
Timing: Jan 19 2025 15:19:52
Module start 'content'
Timing: Jan 19 2025 15:19:52
Module end 'content'
Timing: Jan 19 2025 15:19:52
Script end

Main resources:

Total runtime0.7643 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.1719152.6250
Module start 'layout' 0.00430.0022 741.796939.4453
Module start 'content' 0.00660.7566 781.2422429.0547
Module end 'content' 0.76320.0011 1,210.29698.1641
Script end 0.7643  1,218.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3955160.0002
Check MTime0.00130.1648160.0001
Mysql Total
Database connection0.00060.080110.0006
Mysqli_queries0.733095.9112460.0159
Looping result0.00030.0440440.0000
Template Total0.741997.120.3710
Template load0.00220.286420.0011
Template processing0.739796.785220.3699
Template load and register function0.00010.015010.0001
states
state_id_array0.00060.083510.0006
state_identifier_array0.00070.085420.0003
Override
Cache load0.00170.219190.0002
Sytem overhead
Fetch class attribute can translate value0.00050.059910.0005
Fetch class attribute name0.00050.071410.0005
XML
Image XML parsing0.00010.011610.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00050.0716100.0001
String conversion0.00000.000940.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs