[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] cron.weekly on RaQ2
- Subject: Re: [cobalt-users] cron.weekly on RaQ2
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Thu May 11 13:24:05 2000
Michael Combe <mcombe@xxxxxxxxxxxxxxxxx> wrote:
> In the crontab file in the /etc directory, how can you specify the hour and
> day that the weekly cron jobs are run?
I had this URL laying around that explains cron files -
http://unix.about.com/compute/unix/library/weekly/aa041999.htm?rnk=r2&terms=cron
&PM=112_300_T
An exerpt from the webpage says it all: "The format of the file is minute
(0-59), hour (0-23), day of the month (1-31), month of the year (1-12), and
day of the week (1-7 with 1=monday), command."
FYI, if you plan on adding your own cron jobs I would avoid editing /etc/crontab
and create your own cron using the crontab program. You can create a cronfile
for any user on your system and it will be stored in /var/spool/cron/. That way
you won't accidentally screw up the master cron jobs in /etc/crontab.
Steven Werby {steven-lists@xxxxxxxxxxxx}