On Tue, 14 Mar 2000, Steve Feehan wrote:

> On Wed, 15 Mar 2000, Stephen M Lavelle wrote:
> 
> > What is the correct format for specifying 8:00hrs (8 am) in a cronjob?
> > Is it:
> > 0 8 
> > or 00 08
> > I know that 17:30 is specified as 30 17
> 
> I know that the first one
> 
> 0 8 * * * /usr/bin/...
> 
> is correct. I've never tried leading zeros.


Leading zeros work, and are a big help.  Most entries dont have lists or
ranges, so if you use leading zeros and consistent spacing, most of your
cron entries will line up nicely, making it easier to read.

Don't forget that you can have comments in your crontab file.  I usually
have a line in mine like:

#Mi Hr Dy Mo Dw         Command

Sometimes I repeat it every screenful or so.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to