runcronjobs.php on a multisite ez instalation

Author Message

Paulo Almeida

Thursday 03 April 2003 5:45:12 am

Does runcronjobs.php works on all sites that the instalations has, but with diferent databases?
If don't, any ideias how could i have it?

Thanks

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Jan Borsodi

Monday 07 April 2003 6:20:22 am

Currently the scripts aren't run with a specific siteaccess this means that the database information must be specified in thew override site.ini file.

This is something that we will look into for an upcoming release.

For now you can edit the runcronjobs.php script and add:
$access = changeAccess( array( 'name' => 'mysiteaccess', 1 ) );
where mysiteaccess is the name of the siteaccess you want to use, eg. user, admin or a custom one.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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

Main resources:

Total runtime1.0244 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.0054 588.0391152.6406
Module start 'layout' 0.00540.0032 740.679739.4766
Module start 'content' 0.00861.0145 780.1563527.7734
Module end 'content' 1.02310.0013 1,307.92978.1250
Script end 1.0244  1,316.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3038160.0002
Check MTime0.00110.1106160.0001
Mysql Total
Database connection0.00110.104310.0011
Mysqli_queries0.980695.7254540.0182
Looping result0.00050.0471520.0000
Template Total0.995297.120.4976
Template load0.00200.196020.0010
Template processing0.993296.950520.4966
Template load and register function0.00010.008910.0001
states
state_id_array0.00100.093710.0010
state_identifier_array0.00140.138920.0007
Override
Cache load0.00160.1558150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.054320.0003
Fetch class attribute name0.00110.110440.0003
XML
Image XML parsing0.00110.109520.0006
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00090.0836230.0000
String conversion0.00000.000740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
3content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs