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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:36:23
Script start
Timing: Jan 18 2025 18:36:23
Module start 'layout'
Timing: Jan 18 2025 18:36:23
Module start 'content'
Timing: Jan 18 2025 18:36:23
Module end 'content'
Timing: Jan 18 2025 18:36:23
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0391152.6406
Module start 'layout' 0.00460.0044 740.679739.4922
Module start 'content' 0.00900.0058 780.171989.4922
Module end 'content' 0.01490.0022 869.664130.3047
Script end 0.0171  899.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.3601140.0002
Check MTime0.00116.6794140.0001
Mysql Total
Database connection0.00063.434410.0006
Mysqli_queries0.003319.199830.0011
Looping result0.00000.239510.0000
Template Total0.001710.010.0017
Template load0.00095.467710.0009
Template processing0.00084.492810.0008
Override
Cache load0.00063.639110.0006
General
dbfile0.00042.370480.0001
String conversion0.00000.068240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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