One instance of a cronjob at given time ? why ?

Author Message

Slawek Machul

Monday 14 April 2008 7:37:29 am

I'm wondering why there is not allowed more than one instance of the same cronjob script to be run at given time.
If anyone may answer ?

--
thank you

Piotrek Karaƛ

Monday 14 April 2008 9:06:30 am

That's not true - this is why there are cronjobs parts - they group tasks that can be scheduled to run together:
http://ez.no/doc/ez_publish/technical_manual/4_0/features/cronjobs/configuring_cronjobs
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/cronjob_ini
Hope this helps.

PS. My apologies! I might have misunderstood you... do you mean the exactly same job? twice in one setting for example? What would be the reason for that?

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 20:53:24
Script start
Timing: Jan 18 2025 20:53:24
Module start 'layout'
Timing: Jan 18 2025 20:53:24
Module start 'content'
Timing: Jan 18 2025 20:53:24
Module end 'content'
Timing: Jan 18 2025 20:53:24
Script end

Main resources:

Total runtime0.0249 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0469152.6406
Module start 'layout' 0.00480.0032 740.687539.4766
Module start 'content' 0.00810.0146 780.164189.3672
Module end 'content' 0.02270.0022 869.531330.3047
Script end 0.0249  899.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.9748140.0002
Check MTime0.00125.0045140.0001
Mysql Total
Database connection0.00062.525710.0006
Mysqli_queries0.002911.696430.0010
Looping result0.00000.064110.0000
Template Total0.00156.010.0015
Template load0.00083.251210.0008
Template processing0.00072.742010.0007
Override
Cache load0.00062.352510.0006
General
dbfile0.007530.105880.0009
String conversion0.00000.023940.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