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

re: NEWBIE: cron




Try
man 5 crontab

fields are:

minute
hour
day-of-month
month
day-of-week
user
command

The line you used appends the date in /home/dating everyday at 00:01

If you want it to run every minute, you can try

*/1 * * * * root date >> /home/dating






Hi,
I am new to cron tasks and I can not find out how I can run a task every
minute. I have now this line in /etc/crontab:
# m h dom mon dow user   command
1 0 * * *      root date >> /home/dating

This should export the date every minute to /home/dating, but it does not
mseem to work.
And what do dom, mon  and dow mean? I guess 'do monthly' and 'do weekly',
but the middle one does not make sense to me.





_________________________________________________________________
"This e-mail is intended for the exclusive use of the individual or
entity named above and may constitute information that is priviledged or
confidential or otherwise protected from disclosure . Dissemination ,
distribution , forwarding or copying of this e-mail by anyone other than the
intended recipient is prohibited . If you have received this e-mail in error
, please notify us and completly delete or destroy any and all electronic or
other copies of the original message"
_________________________________________________________________



Reply to: