Cronjobs don't get run
Chris Malton
chrism at cjsoftuk.dyndns.org
Mon Oct 8 15:18:52 UTC 2007
Felix 'buebo' Kakrow 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.
>
> A timed cronjob like this:
>
> 7 7 * * * whatever_command
This line is missing a field on Ubuntu/Debian. You need the user name
in /etc/crontab
>
> works fine on the other hand.
>
> I had a look at crontab(5) which states: "Steps are also permitted after an
> asterisk so if you want to say ‘‘every two hours’’, just use ‘‘*/2’’." So
> this should work, but isn't.
>
> What now?
>
> Cheers
> Felix
>
Chris
More information about the ubuntu-users
mailing list