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?