Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 1998 12:57:41 -0400
From:      "Harry Patterson" <harry@visiontm.com>
To:        <sfarrell+list@farrell.org>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: crontab problems
Message-ID:  <01bd60b3$f22a1aa0$f46190cf@hp.harry.com>

next in thread | raw e-mail | index | archive | help
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 <mailto:harry@visiontm.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd60b3$f22a1aa0$f46190cf>