runcronjob with php as CGI

Author Message

Bjarte Lunde

Friday 19 August 2005 4:47:14 am

Hi!

I know there has been some discussions about how to run the cronjob script with php as CGI, but I can't find the answer.

I'm running ezpublish 3.5.2 on a host that has php installed as CGI. Is it possible for me to get the cronjob script to run in this environment?

Cheers,
- Bjarte

Björn Dieding@xrow.de

Friday 19 August 2005 6:39:35 am

http://pubsvn.ez.no/community/trunk/kernel/classes/ezscript.php

This is my patch ... maybe try some revisions before... I think this one is for 3.6

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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 20 2025 06:44:34
Script start
Timing: Jan 20 2025 06:44:34
Module start 'layout'
Timing: Jan 20 2025 06:44:34
Module start 'content'
Timing: Jan 20 2025 06:44:36
Module end 'content'
Timing: Jan 20 2025 06:44:36
Script end

Main resources:

Total runtime1.3783 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.2734152.6406
Module start 'layout' 0.00640.0044 741.914139.4609
Module start 'content' 0.01071.3661 781.3750520.2266
Module end 'content' 1.37690.0014 1,301.60168.3203
Script end 1.3782  1,309.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2412160.0002
Check MTime0.00140.1042160.0001
Mysql Total
Database connection0.00070.053110.0007
Mysqli_queries1.334596.8225540.0247
Looping result0.00050.0350520.0000
Template Total1.343197.520.6716
Template load0.00210.154220.0011
Template processing1.341097.295220.6705
Template load and register function0.00010.008910.0001
states
state_id_array0.00180.127810.0018
state_identifier_array0.00160.118520.0008
Override
Cache load0.00180.1277120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.050820.0003
Fetch class attribute name0.00150.111030.0005
XML
Image XML parsing0.00070.050520.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00100.0716160.0001
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
2content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs