Forums / Install & configuration / php runcronjobs.php frequent -s mysite

php runcronjobs.php frequent -s mysite

Author Message

Jun Zheng

Monday 19 October 2009 8:59:04 pm

When i using the

php runcronjobs.php frequent -s mysite

command i got the wrong message like this:

Error initializing script: database error: Access denied for user 'user'@'localhost' (using password: YES).

i found it used the DefaultAccess site settings not use mysite which i indicated, and if i using

php runcronjobs.php -s mysite

it can be work correctly.
is it a bug? or i should setup other settings? pls help me .

Gaetano Giunta

Tuesday 20 October 2009 1:11:09 am

you need to run

php runcronjobs.php -s mysite frequent

the cronjob part name must go last,; or the options will not be taken into account

Principal Consultant International Business
Member of the Community Project Board

Jun Zheng

Wednesday 21 October 2009 8:10:07 pm

Thank you very much.