Frequent and infrequent cron jobs

Author Message

Eirik Alfstad Johansen

Wednesday 14 March 2007 7:19:40 am

Hi,

Can somebody explain to me how frequent and infrequent cronjob (terminology used in settings/cronjob.ini) are supposed to work, and whether or not they are implemented= It seems to me that the scripts used under neither the frequent nor the infrequent block are run when the runcronjobs.php script is run.

Thanks in advance. :)

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Claudia Kosny

Wednesday 14 March 2007 3:10:26 pm

Hi Eirik

This page http://ez.no/doc/ez_publish/technical_manual/3_8/features/cronjobs/configuring_cronjobs
explains it quite well.

In short:
If you run

php runcronjobs.php -s siteaccessname

The scripts under the [CronjobSettings] block are run.

If you run

php runcronjobs.php infrequent -s siteaccessname

The scripts under the [CronjobPart-infrequent] block are run (similar for frequent).

Claudia

Eirik Alfstad Johansen

Thursday 15 March 2007 12:40:38 am

Thanks, Claudia. Strangely, a search for frequent didn't return anything, so I thought there wasn't any info about it. :)

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 10:31:48
Script start
Timing: Jan 18 2025 10:31:48
Module start 'layout'
Timing: Jan 18 2025 10:31:48
Module start 'content'
Timing: Jan 18 2025 10:31:48
Module end 'content'
Timing: Jan 18 2025 10:31:48
Script end

Main resources:

Total runtime0.5960 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.0054 588.0391152.6406
Module start 'layout' 0.00540.0035 740.679739.4766
Module start 'content' 0.00880.5855 780.1563534.1719
Module end 'content' 0.59430.0017 1,314.328112.1406
Script end 0.5960  1,326.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5892160.0002
Check MTime0.00130.2142160.0001
Mysql Total
Database connection0.00090.155710.0009
Mysqli_queries0.548792.0620570.0096
Looping result0.00060.0968550.0000
Template Total0.568595.420.2843
Template load0.00200.339620.0010
Template processing0.566595.039620.2832
Template load and register function0.00010.017310.0001
states
state_id_array0.00070.110810.0007
state_identifier_array0.00070.123020.0004
Override
Cache load0.00170.2775220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.116620.0003
Fetch class attribute name0.00140.227640.0003
XML
Image XML parsing0.00060.104420.0003
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00080.1371160.0001
String conversion0.00000.001740.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
2content/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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs