Skip site navigation (1)Skip section navigation (2)
Date:      05 Apr 1998 09:25:55 -0500
From:      sfarrell+list@farrell.org
To:        "Harry Patterson" <harry@visiontm.com>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: crontab problems
Message-ID:  <87zpi02vm4.fsf@phaedrus.uchicago.edu>
In-Reply-To: "Harry Patterson"'s message of "Sun, 5 Apr 1998 10:15:05 -0400"
References:  <01bd609d$3b380160$f46190cf@hp.harry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Harry Patterson" <harry@visiontm.com> 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 ``:<group>'' and ``/<lo- gin-class>'' 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87zpi02vm4.fsf>