From owner-freebsd-questions Sun Apr 5 10:36:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15303 for freebsd-questions-outgoing; Sun, 5 Apr 1998 10:36:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15297 for ; Sun, 5 Apr 1998 10:36:20 -0700 (PDT) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (jack@localhost) by germanium.xtalwind.net (8.9.0.Beta3/8.9.0.Beta3) with SMTP id NAA01577; Sun, 5 Apr 1998 13:36:04 -0400 (EDT) Date: Sun, 5 Apr 1998 13:36:04 -0400 (EDT) From: jack To: Harry Patterson cc: sfarrell+list@farrell.org, freebsd-questions Subject: Re: crontab problems In-Reply-To: <01bd60b3$f22a1aa0$f46190cf@hp.harry.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 5 Apr 1998, Harry Patterson wrote: > For the system crontab (using your numbering): > > [1] DO NOT crontab crontab from root to activate the system crontab. This > will only activate a crontab for the root user not the system crontab. > > [2] edit /etc/crontab and restart the cron process (ie. kill -1 PID). > /etc/crontab is the system crontab and loads when cron is started. > > If I'm wrong please correct me, otherwise thanks again. RTFM :) From cron(8): Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has, cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab file is modified. ^^^^ ^^^^^^^^^^^^^^^^ SEE ALSO crontab(1), crontab(5) -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message