[support] Cron Unable to Access Database
sander-martijn
lists at severeddreams.com
Wed Apr 23 18:07:02 UTC 2008
try
17 * * * * /usr/bin/lynx -source http://example.com/cron.php
or
17 * * * * /usr/bin/wget -O - -q http://example.com/cron.php
Shai Gluskin wrote:
> Fellow Drupallers,
>
> Cron isn't working.
>
> This is the job I have set up:
>
> 17 * * * * /usr/bin/php -q /home/<account_name>/public_html/cron.php
>
> (account_name is replaced with the actual account name.)
>
> I'm using cpanel x3 advanced pane set-up.
>
> At 17 minutes after every hour I get the automated e-mail cron report
> telling me that the script was unable to access the database.
>
> When I go to: /admin/logs/status, not surprisingly, cron has not been run.
>
> When I navigate via a browser to: example.com/cron.php
> <http://example.com/cron.php> cron runs normally and is reported as such
> in /admin/logs/status.
>
> Other cron jobs in different accounts (also Drupal installations) on the
> same server are working fine.
>
> I'm running Drupal 5.7.
>
> Thanks for the help.
>
> Shai
> content2zero <http://content2zero.com>
>
More information about the support
mailing list