[Techtalk] Troubleshooting cron

Malcolm Tredinnick malcolm at commsecure.com.au
Tue Jul 23 13:12:09 EST 2002


On Mon, Jul 22, 2002 at 08:08:40PM -0700, Poppy wrote:
> I guess it makes sense, in a way, the way this is set up.
> My crontab file says (this is NOT the one I set up...)
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> 
> Isn't that just annoying. Have created shell script and stuck it in
> cron.weekly... now I guess I wait and see what happens at 4:22 am on the
> 0 day each week (anyone know what a 0 here means?)

0 and 7 both mean Sunday. For future reference, the crontab(5) man page
explains this, but you need to ensure you really do type 'man 5 crontab' or
else crontab(1) pops up and seems less useful.

Cheers,
Malcolm



More information about the Techtalk mailing list