Date: Wed, 26 Jun 1996 11:28:09 -0700 (PDT) From: "Jonathan M. Bresler" <jmb> To: andrsn@andrsn.stanford.edu (Annelise Anderson) Cc: freebsd-questions@freebsd.org Subject: Re: Message to Root Every 5 Minutes Message-ID: <199606261828.LAA25994@freefall.freebsd.org> In-Reply-To: <Pine.BSF.3.91.960626110659.932A-100000@andrsn.stanford.edu> from "Annelise Anderson" at Jun 26, 96 11:10:16 am
next in thread | previous in thread | raw e-mail | index | archive | help
Annelise Anderson wrote: > > I'm getting the following message sent every five minutes--it ends > up in /var/mail/root: > > > >From daemon Wed Jun 26 08:10:01 1996 > Received: (from root@localhost) by andrsn.stanford.edu (8.7.5/8.6.12) id IAA00596; Wed, 26 Jun 1996 08:10:01 -0700 (PDT) > Date: Wed, 26 Jun 1996 08:10:01 -0700 (PDT) > Message-Id: <199606261510.IAA00596@andrsn.stanford.edu> > From: root (Cron Daemon) > To: root > Subject: Cron <root@andrsn> root /usr/libexec/atrun > X-Cron-Env: <SHELL=/bin/sh> > X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin> > X-Cron-Env: <HOME=/root> > X-Cron-Env: <LOGNAME=root> > X-Cron-Env: <USER=root> > > root: not found > > I must have something set wrong--any ideas? hello annelise, looks like your /etc/crontab has an error. it should look like this: [snip] # #minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun [snip] the HOME enviroment variable is set to "HOME=/root" should be "HOME=/var/log" jmb -- Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606261828.LAA25994>