Running cronjobs on admin interface

Author Message

Adolfo Barragán

Monday 21 February 2005 9:11:27 am

I need send notifications to my users but I don't have access to PHP client on my hosting provider, so I can't execute "runcornjobs.php".

How can I solve this?

Thanks in advance
Adolfo Barragán

Mark Marsiglio

Friday 25 February 2005 7:35:52 am

did you try going to http://yoursite.com/runcronjobs.php in a browser? This works on many out-of-the-box installations, but is not very secure (can lead to denial of service attacks).

Alternately, your better bet is to work with your host to schedule the cron jobs for you so they run automatically.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Adolfo Barragán

Monday 28 February 2005 11:51:47 pm

> did you try going to http://yoursite.com/runcronjobs.php in a browser?

Yes, But I receive this error:

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

I talk with my hosting provider and they tell me PHP cli is disabled.

Again, How can I solve this

Adolfo Barragán

Łukasz Serwatka

Tuesday 01 March 2005 12:02:55 am

As log as PHP using Apache interface you can`t run this script. Ask administrator, maybe he could enable CLI interface.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.9462 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.0313152.6406
Module start 'layout' 0.00690.0038 740.671939.4609
Module start 'content' 0.01060.9338 780.1328586.1328
Module end 'content' 0.94450.0017 1,366.265612.1563
Script end 0.9461  1,378.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3722160.0002
Check MTime0.00150.1582160.0001
Mysql Total
Database connection0.00100.102410.0010
Mysqli_queries0.887593.7996620.0143
Looping result0.00070.0707600.0000
Template Total0.907395.920.4536
Template load0.00220.233720.0011
Template processing0.905095.651420.4525
Template load and register function0.00070.070010.0007
states
state_id_array0.00180.193610.0018
state_identifier_array0.00410.429620.0020
Override
Cache load0.00190.2020210.0001
Sytem overhead
Fetch class attribute can translate value0.00110.118530.0004
Fetch class attribute name0.00270.288760.0005
XML
Image XML parsing0.00130.137130.0004
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00100.1017230.0000
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
2content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs