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.

eZ debug

Timing: Jan 18 2025 15:20:26
Script start
Timing: Jan 18 2025 15:20:26
Module start 'content'
Timing: Jan 18 2025 15:20:26
Module end 'content'
Timing: Jan 18 2025 15:20:26
Script end

Main resources:

Total runtime0.0207 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.8516180.8203
Module start 'content' 0.00830.0049 768.671994.0547
Module end 'content' 0.01310.0075 862.726670.7031
Script end 0.0207  933.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002210.5424120.0002
Check MTime0.00105.0537120.0001
Mysql Total
Database connection0.00157.291810.0015
Mysqli_queries0.004421.142440.0011
Looping result0.00000.078220.0000
Template Total0.007234.610.0072
Template load0.00073.514110.0007
Template processing0.006431.033510.0064
Override
Cache load0.00042.166710.0004
General
dbfile0.002311.1097100.0002
String conversion0.00000.024230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs