Cronjobs don't get run
Andrew Glen-Young
aglenyoung at gmail.com
Mon Oct 8 14:00:55 UTC 2007
On 08/10/2007, Felix 'buebo' Kakrow <spam at buebo.de> wrote:
> Hello,
> I have a cronjob like this:
>
> */15 * * * * getmail --quiet --rcfile=whatever
>
> It works fine when run directly from the command line but does not run at
> all as a cronjob.
The cron job will be run with a restricted environment. Be careful and
check than the script is in the PATH that the cron job expects.
>From crontab(5):
"... PATH is set to "/usr/bin:/bin". HOME, SHELL, and PATH may be
overridden by settings in the crontab..."
That would be my first guess.
Regards.
Andrew Glen-Young
More information about the ubuntu-users
mailing list