Patch for systems without phpcli

Author Message

Rob Rob

Monday 20 June 2005 3:15:33 am

On my shared account I don't have access with shell oder root right. This causes that the runcronjob was not running.

So I looked up the forum to find a simple solution for me. I found this and tested it.

http://www.ez.no/community/bugs/patch_for_systems_without_phpcli

I works fine after I called my runcronjobs.php in the browser like

http://www.mysite.com/myez/runcronjobs.php

So my question is, what problems can cause this? I expect problems if the script is called very often and the server suffers, any other problems that I have to expect?
Something simple to heal this disadvantage?

Thanks for comments

rob

Björn Dieding@xrow.de

Monday 20 June 2005 3:53:41 am

Basicly your main concern should be timeouts.

When you run the runcronjobs from the web you will get a timeout at a certain point.

This means you might break your db.

So if you are in a need of running crons, I would recommend switching the host.

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

Main resources:

Total runtime0.6662 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.0052 590.4141152.6406
Module start 'layout' 0.00520.0036 743.054739.4766
Module start 'content' 0.00880.6561 782.5313521.4219
Module end 'content' 0.66490.0013 1,303.95318.2969
Script end 0.6662  1,312.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4850160.0002
Check MTime0.00130.1982160.0001
Mysql Total
Database connection0.00070.111710.0007
Mysqli_queries0.619192.9344540.0115
Looping result0.00060.0831520.0000
Template Total0.634495.220.3172
Template load0.00210.317920.0011
Template processing0.632394.907820.3161
Template load and register function0.00010.019510.0001
states
state_id_array0.00080.118010.0008
state_identifier_array0.00100.152320.0005
Override
Cache load0.00170.2616180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.079220.0003
Fetch class attribute name0.00090.139930.0003
XML
Image XML parsing0.00080.124120.0004
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00220.3310160.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/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