Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 09:16:28 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Ben Calvert <ben@stonehenge-net.com>
Cc:        questions@freebsd.org
Subject:   Re: cron help?
Message-ID:  <15005.5708.642413.344467@guru.mired.org>
In-Reply-To: <27807186@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Calvert <ben@stonehenge-net.com> types:
> This is a multi-part message in MIME format.
> --------------010601060306070205080706
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> i just set up a new /etc/crontab (see below) yesterday and have been 
> getting this every 5 minutes since. the weird thing is that the atrun 
> line wasn't modified at all, i just added a script to run cvsup at 3 pm 
> every day...
> 
> this is my first time trying to set up cron, so i'm sure there's 
> something really obvious i'm doing wrong...

See the FAQ at <URL:
http://www.freebsd.org/FAQ/admin.html#dmin.html#ROOT-NOT-FOUND-CRON-ERRORS
>

Since what you're doing happens daily, I'd suggest moving dailysup to
/usr/local/etc/periodic/daily/100.dailysup, and letting it be run as
part of the daily periodic run.

	<mike

> 
> -------- Original Message --------
> Subject: Cron root /usr/libexec/atrun
> Date: Tue, 27 Feb 2001 23:25:00 -0800 (PST)
> From: root@cair.stonehenge-net.com (Cron Daemon)
> To: root@cair.stonehenge-net.com
> 
> 
> 
> root: not found
> 
> --------------010601060306070205080706
> Content-Type: text/plain;
>  name="crontab"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="crontab"
> 
> # /etc/crontab - root's crontab for FreeBSD
> #
> # $FreeBSD: src/etc/crontab,v 1.21.2.1 2000/09/20 02:32:51 jkh Exp $
> #
> SHELL=/bin/sh
> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
> HOME=/var/log
> #
> #minute	hour	mday	month	wday	who	command
> #
> 5	*	*	*	*	root	/usr/libexec/atrun
> #
> # rotate log files every hour, if necessary
> 0	*	*	*	*	root	newsyslog
> #
> # do daily/weekly/monthly maintenance
> 59	1	*	*	*	root	periodic daily
> 30	3	*	*	6	root	periodic weekly
> 30	5	1	*	*	root	periodic monthly
> #
> # time zone change adjustment for wall cmos clock,
> # does nothing, if you have UTC cmos clock.
> # See adjkerntz(8) for details.
> 1,31	0-5	*	*	*	root	adjkerntz -a
> 
> # cair specifics:  get run cvsup every night
> 05	15	*	*	*	root	/root/bin/dailysup
> 
> --------------010601060306070205080706--
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15005.5708.642413.344467>