From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 14:02:48 2003 Return-Path: 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 3F76337B401 for ; Thu, 3 Jul 2003 14:02:48 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 66BAF43FF7 for ; Thu, 3 Jul 2003 14:02:45 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 93512 invoked by uid 1001); 3 Jul 2003 21:05:52 -0000 Date: Thu, 3 Jul 2003 14:05:52 -0700 From: Joshua Oreman To: Rich Morin Message-ID: <20030703210552.GB93458@webserver.get-linux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: format of /etc/crontab? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 21:02:48 -0000 On Thu, Jul 03, 2003 at 01:54:36PM -0700 or thereabouts, Rich Morin wrote: > The cron(8) man page (on my FreeBSD 4.7 system) says: > > Cron searches /var/cron/tabs for crontab files which are named after > accounts in /etc/passwd; crontabs found are loaded into memory. Cron > also searches for /etc/crontab which is in a different format (see > crontab(5)). > > The crontab(5) man page, however, says nothing about any differences in > the file formats. Instead, it appears to describe only the format that > is used in /var/cron/tabs/* files. > > I would like to know precisely how the format of /etc/crontab differs, > but I can't find any man page that addresses this. Help? Normal crontabs have the time fields, and then the command to run. /etc/crontab has an additional field after the time fields but before the command -- the user to run the command as (usually root). This is said in comments in /etc/crontab. -- Josh > > -r > -- > email: rdm@cfcl.com; phone: +1 650-873-7841 > http://www.cfcl.com/rdm - my home page, resume, etc. > http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. > http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"