How to run runcronjobs.php from browser?

Author Message

Lazaro Ferreira

Thursday 09 September 2004 4:34:37 am

Hi,

We would like users can manually run runcronjobs.php via browser and "on demand" instead of waiting for next time cron run

After changing rewrite rule at apache httpd.conf, We got the error :

#!/usr/bin/env php PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface.

I understand that runcronjobs.php expects php cli interface in order to run, but on the other hand I understand that I need apache php module to run the web site

Any recommendation to run the cronjobs via browser and on-demand ?

Thanks
Lazaro

Lazaro
http://www.mzbusiness.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:39:18
Script start
Timing: Jan 19 2025 03:39:18
Module start 'layout'
Timing: Jan 19 2025 03:39:18
Module start 'content'
Timing: Jan 19 2025 03:39:19
Module end 'content'
Timing: Jan 19 2025 03:39:19
Script end

Main resources:

Total runtime0.6517 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.0056 589.2500152.6250
Module start 'layout' 0.00560.0033 741.875039.4453
Module start 'content' 0.00890.6413 781.3203428.4844
Module end 'content' 0.65020.0015 1,209.80478.1406
Script end 0.6517  1,217.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4760160.0002
Check MTime0.00130.2009160.0001
Mysql Total
Database connection0.00070.113810.0007
Mysqli_queries0.612093.9063460.0133
Looping result0.00040.0637440.0000
Template Total0.621395.320.3107
Template load0.00180.271720.0009
Template processing0.619695.061420.3098
Template load and register function0.00020.035410.0002
states
state_id_array0.00080.129610.0008
state_identifier_array0.00090.140620.0005
Override
Cache load0.00130.2065110.0001
Sytem overhead
Fetch class attribute can translate value0.00060.099110.0006
Fetch class attribute name0.00070.106510.0007
XML
Image XML parsing0.00010.016110.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.1054100.0001
String conversion0.00000.001140.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs