debugging cronjobs

Author Message

nigel dodd

Wednesday 15 December 2004 5:13:06 am

I can't seem to run cronjobs to publish a new guestbook entry in the tscm example.
I have set up the workflow and trigger according to the tscm documentation http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow
When the frontend creates a new guestbook entry it appears correctly in the personal/collaboration section of the backend and, when I approve it it goes away.

At this point I should be able to runcronjobs and have it appear in the frontend. I can't run cronjobs on the command line because I run Windows and php is compiled for Apache so I use the addition to index.php given in http://www.ez.no/ez_publish/documentation/configuration/configuration/cron_jobs
and use the enhanced version that runs only every 2 hours (or 1 minute in my case). The ezfilternotify_last_runtime file appears with the correct time stamp indicating that this section of code was indeed run.

The problem is that I don't get any error messages and neither do I get the entries appearing in the Guestbook.

Is there a way to debug the whole runcronjobs process, printing out diagnostic messages? How can I be sure that the runconjobs is running correctly?

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

Main resources:

Total runtime1.1100 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.0057 590.2656152.6094
Module start 'layout' 0.00570.0040 742.875039.4141
Module start 'content' 0.00961.0987 782.2891439.5547
Module end 'content' 1.10840.0016 1,221.84388.1875
Script end 1.1100  1,230.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3072160.0002
Check MTime0.00130.1177160.0001
Mysql Total
Database connection0.00070.061610.0007
Mysqli_queries1.058895.3819460.0230
Looping result0.00060.0537440.0000
Template Total1.076597.020.5383
Template load0.00210.189620.0011
Template processing1.074496.790920.5372
Template load and register function0.00020.019510.0002
states
state_id_array0.00070.061510.0007
state_identifier_array0.00080.068820.0004
Override
Cache load0.00160.1449110.0001
Sytem overhead
Fetch class attribute can translate value0.00120.104910.0012
Fetch class attribute name0.00090.076920.0004
XML
Image XML parsing0.00900.811710.0090
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.01191.0741160.0007
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs