Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 03:53:17 -0000 (GMT)
From:      "Schrodinger" <schrodinger@konundrum.org>
To:        <freebsd-questions@freebsd.org>
Subject:   Cron
Message-ID:  <2459.159.134.74.211.1043639597.squirrel@webmail.konundrum.org>

next in thread | raw e-mail | index | archive | help
I'm loooking for help with Cron. When cron is running my mailbox starts to
fill up with hundreds of mails from cron and they are all the same:

Date: Thu, 23 Jan 2003 17:40:00 GMT
From: root@schro.konundrum.org (Cron Daemon)
To: root@schro.konundrum.org
Subject: Cron <root@schro> root /usr/libexec/atrun
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env:
<PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/games:/usr/local/sbin:/usr/X11R6/bin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

root: not found

And in the log file they are full with:

Jan 22 13:25:00 schro cron[44063]: (root) CMD (atrun)
Jan 22 13:25:00 schro cron[44064]: (root) CMD (root^Iatrun)
Jan 22 13:30:00 schro cron[44330]: (root) CMD (atrun)
Jan 22 13:30:00 schro cron[44331]: (root) CMD (root^Iatrun)

I have read over the atrun man pages and the cron man pages and I can't
figure out what the problem is. My crontab looks alright:

# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/games:/usr/local/sbin:/usr/X11R6/bin
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
1       3       *       *       *       root    periodic daily
15      4       *       *       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

Can anyone shed some light on this subject. Have I missed something
completely obvious or is it something entirely different?


-- 
It takes two to lie Marge, one to lie and one to listen.
PGP Public Key: http://konundrum.org/schrodinger.asc



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?2459.159.134.74.211.1043639597.squirrel>