Forums / General / runcronjobs.php on a multisite ez instalation

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