From owner-freebsd-questions Sun Apr 5 07:26:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA24493 for freebsd-questions-outgoing; Sun, 5 Apr 1998 07:26:02 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA24464 for ; Sun, 5 Apr 1998 07:25:59 -0700 (PDT) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id JAA00111; Sun, 5 Apr 1998 09:25:57 -0500 (CDT) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id JAA22521; Sun, 5 Apr 1998 09:25:55 -0500 (CDT) To: "Harry Patterson" Cc: "freebsd-questions" Subject: Re: crontab problems References: <01bd609d$3b380160$f46190cf@hp.harry.com> From: sfarrell+list@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 05 Apr 1998 09:25:55 -0500 In-Reply-To: "Harry Patterson"'s message of "Sun, 5 Apr 1998 10:15:05 -0400" Message-ID: <87zpi02vm4.fsf@phaedrus.uchicago.edu> Lines: 24 X-Mailer: Gnus v5.6.3/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Harry Patterson" writes: > I've read and re-read the man pages and can't find the distinction between > root's crontab and /etc/crontab (user level differences are obvious with the > user field removed) . I assumed that the only way to change the "system" > crontab was to edit it as root and perform a "crontab crontab" as root. Is > there a different way? How does the system crontab take effect and how do > you change it? kill -HUP the cron daemon to get it to reread /etc/crontab. Well, it's kind of well hidden (i.e., amazingly poorly worded) in man 5 crontab: 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. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message