From owner-freebsd-questions Sun Apr 5 10:00:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12634 for freebsd-questions-outgoing; Sun, 5 Apr 1998 10:00:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from flint.cyweb.com (root@cyweb.com [209.83.135.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12625 for ; Sun, 5 Apr 1998 10:00:36 -0700 (PDT) (envelope-from harry@visiontm.com) Received: from hp.harry.com (dial-15.r04.scbuft.InfoAve.Net [206.74.202.215]) by flint.cyweb.com (8.8.0/8.6.9) with SMTP id MAA28697; Sun, 5 Apr 1998 12:10:04 -0500 From: "Harry Patterson" To: Cc: "freebsd-questions" Subject: Re: crontab problems Date: Sun, 5 Apr 1998 12:57:41 -0400 Message-ID: <01bd60b3$f22a1aa0$f46190cf@hp.harry.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve, Thanks for your help. The system crontab is working fine with no error messages. Not to beat a dead horse but what I wanted to clarify for any others that are reading these is: 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. Sincerely, Harry Patterson Steve Farrell wrote: >I've numbered two of your statements as [1] and [2]. They appear to >contradict each other (or else I don't understand what you're saying). >I believe that [2] is the actual behavior... I don't see it in the >docs, so I suppose experimentation is the only way to find out... >> I had read the line you list below in man 5 crontab concerning the >> system crontab. What is hidden well is that you don't have to do >> anything (ie. crontab crontab) to activate the system crontab. [1] >> I assume it is automatically checked every minute. This is where my >> problems began by performing a root level crontab crontab thinking >> this is the way to update the system crontab. Did I miss something >> in the man pages that explains how the system crontab is loaded and >> am I correct that the procedure is to [2] edit /etc/crontab and >> restart the cron daemon? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message