Re: Revisiting cron -- Re: crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/18/2010 10:30 AM, Tom Horsley wrote:
> On Thu, 18 Nov 2010 10:05:08 -0500
> Robert Moskowitz wrote:
>
>    
>> OK. But what about:
>> http://mailman.linuxchix.org/pipermail/courses/2004-February/001389.html
>> which is old, but says that there is a user field in the /etc/crontab
>> version? Is there?
>>      
> The crontab(5) man page says there is (if you read it 5 or six
> times to decrypt the convoluted description :-).

Us dyslexics have to read it 7-9 times! Thanks.

> 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...

Well I will remove the /var/spool/cron/root file and go with the 
/etc/crontab, as it is easier to document what you have customized on a 
system this way (IMNSHO).


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux