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

Re: [SLUG] cron / crontab



Doug Balmer wrote:
> 
> what is the format of the crontab file? i want to put something in there
> but have no idea what the numbers mean.
> 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

Generally you don't, you put it in the sub-directories as listed above
depending on when you want it run.

man 5 crontab

minute hour day-of-the-month month day-of-the-week is the format.



--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: terryc@nospam.woa.com.au  www: http://www.woa.com.au  
       or terryc@nospam.zip.net.au 
   WOA Computer Services <lan/wan, linux/unix, novell>
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text