[support] My Week for Cron Problems -- this time "failure to open
Earnie Boyd
earnie at users.sourceforge.net
Tue Apr 29 11:31:46 UTC 2008
Quoting Shai Gluskin <shai at content2zero.com>:
> 15 * * * * curl --silent --compressed http://example.com/cron.php >
> /dev/null 2>&1
>
This is an http request and is a different environment than
> 15 * * * * /usr/bin/php -q /home/<account_name>/public_html/cron.php
>
and
> 15 * * * * /usr/local/bin/php -q /home/<account_name>/public_html/cron.php
>
Cron.php was designed to execute in the http request environment and
wasn't designed to work in the shell environment.
Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/
More information about the support
mailing list