From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 18:31:52 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 1901737B401 for ; Thu, 3 Jul 2003 18:31:52 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70E7E44025 for ; Thu, 3 Jul 2003 18:31:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h641VmSJ068227; Thu, 3 Jul 2003 20:31:48 -0500 (CDT) (envelope-from dan) Date: Thu, 3 Jul 2003 20:31:48 -0500 From: Dan Nelson To: Rich Morin Message-ID: <20030704013148.GE24527@dan.emsphone.com> References: <20030703212325.GA5665@mail.it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-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: Fri, 04 Jul 2003 01:31:52 -0000 In the last episode (Jul 03), Rich Morin said: > None, in the file itself, but the crontab(5) man page should be tweaked. > I have posted the following suggestion (to freebsd-doc@freebsd.org): > > The ``sixth'' field (the rest of the line) specifies the command to be ... > --- > In the case of /etc/crontab, another field (username) follows the time > and date fields. This is normally set to root, but other names can be > specified; the command will be setuid(2) to the corresponding uid. > > The ``final'' field (the rest of the line) specifies the command to be ... > > The user shouldn't be required to spot the added "who" field in the comment, > let alone read the source code to determine that no other format changes > have been made. The man pages promise to (and should) describe any format > differences. It already does, a couple paragraphs above the stuff you quoted: The format of a cron command is very much the V7 standard, with a number of upward-compatible extensions. Each line has five time and date fields, followed by a user name (with optional ``:'' and ``/'' suffixes) if this is the system crontab file, followed by a command. -- Dan Nelson dnelson@allantgroup.com