Forums / General / cronjob for multi site instalation

cronjob for multi site instalation

Author Message

Aigars Riekstins

Thursday 01 January 2004 1:57:58 pm

Hello.
I have two sites using one instalation fo ezpublish and acesses are like 1_user, 1_en_user, 1_ru_user, 1_admin, 2_user, 2_admin. For witch siteaccess I need to run runcronjobs.php -s ? All of them or ounly *_user?
Thanks in advance.

Marco Zinn

Saturday 03 January 2004 4:35:51 am

Hi,
if you want the cronjob-feaures (notification, workflows) for all of your sites, i suggest, that you just run the cronjob without stating a siteaccess. This SHOULD run it for all sites.
I just have a simple layout (1 admin, 1 user site) and run the cronjob without any siteaccess specification (sucessfully)

Marco
http://www.hyperroad-design.com

Aigars Riekstins

Saturday 03 January 2004 5:39:11 am

Yes it runs OK but ounly for default siteaccess witch is 1_user. As my two pages uses distinct database for each I think it is needed to run cron jobs for each *_user siteaccess. Im not sure about translation siteaccesses 1_ru/en_user becouse it is one DB and *_admin siteaccesses dont need those jobs at all? Maybe someone can shead light on this Q becouse I didnt find useful documentation with regards to what cronjobs do in case of multiple sites?

eZ debug

Timing: Jan 19 2025 11:56:29
Script start
Timing: Jan 19 2025 11:56:29
Module start 'content'
Timing: Jan 19 2025 11:56:31
Module end 'content'
Timing: Jan 19 2025 11:56:31
Script end

Main resources:

Total runtime1.4625 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 590.0938180.8359
Module start 'content' 0.00821.2371 770.9297535.9297
Module end 'content' 1.24530.2171 1,306.8594332.7500
Script end 1.4624  1,639.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2794210.0002
Check MTime0.00140.0970210.0001
Mysql Total
Database connection0.00130.086610.0013
Mysqli_queries1.377094.15371940.0071
Looping result0.00240.16221920.0000
Template Total1.424797.420.7124
Template load0.00250.170220.0012
Template processing1.422297.248420.7111
Template load and register function0.00030.019010.0003
states
state_id_array0.00090.060210.0009
state_identifier_array0.00190.132020.0010
Override
Cache load0.00190.1321130.0001
Sytem overhead
Fetch class attribute can translate value0.00210.141530.0007
Fetch class attribute name0.00130.086940.0003
XML
Image XML parsing0.00240.163030.0008
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.01290.8842270.0005
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
3content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs