From owner-freebsd-questions Sun Aug 18 16:14: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B981937B400 for ; Sun, 18 Aug 2002 16:14:07 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E15B43E6E for ; Sun, 18 Aug 2002 16:14:07 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id E030A2B704; Mon, 19 Aug 2002 01:14:00 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id 591F86A7124; Mon, 19 Aug 2002 09:13:46 +1000 (EST) Date: Mon, 19 Aug 2002 09:13:46 +1000 From: Edwin Groothuis To: "Defryn, Guy" Cc: questions@freebsd.org Subject: Re: crontab Message-ID: <20020818231346.GE785@k7.mavetju> References: <98B01D2717B9D411B38F0008C7840931057F3B0E@its-xchg2.massey.ac.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98B01D2717B9D411B38F0008C7840931057F3B0E@its-xchg2.massey.ac.nz> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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