Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 09:13:46 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        "Defryn, Guy" <G.P.Defryn@massey.ac.nz>
Cc:        questions@freebsd.org
Subject:   Re: crontab
Message-ID:  <20020818231346.GE785@k7.mavetju>
In-Reply-To: <98B01D2717B9D411B38F0008C7840931057F3B0E@its-xchg2.massey.ac.nz>
References:  <98B01D2717B9D411B38F0008C7840931057F3B0E@its-xchg2.massey.ac.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 19, 2002 at 10:56:41AM +1200, Defryn, Guy wrote:
> I have a question about Crontab. One of the options is the weekday.
> 
> Is Sunday the first day or last day of the week.

It's a religious question, not a crontab-related question :-)

The configuration of the crontab has 0 and 7 as sunday (see man 5
crontab). With this you can have it as first or last day of the
week. If you want to keep out of trouble regarding if 0 or 1 should
be the first day of the week, you can use the strings "sun", "mon",
"tue" etc also.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020818231346.GE785>