Revisiting cron -- Re: crontab

Michael Schwendt mschwendt at gmail.com
Thu Nov 18 16:05:40 UTC 2010


On Thu, 18 Nov 2010 10:58:14 -0500, Robert wrote:

> > My /etc/crontab
> > file certainly seems to have a user field:
> >
> > 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
> >    
> 
> I am just observing the comments in the file:
> 
> # Example of job definition:
> # .---------------- minute (0 - 59)
> # | .------------- hour (0 - 23)
> # | | .---------- day of month (1 - 31)
> # | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
> # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR 
> sun,mon,tue,wed,thu,fri,sat
> # | | | | |
> # * * * * * command to be executed
> 
> No user field specifed...

That's because the documentation in /etc/crontab is wrong.
I've pointed that out in a recent crontabs package update ticket,
but haven't filed a separate bug report about it due to lack of time.


More information about the users mailing list