Date: Sat, 8 May 1999 14:31:06 -0400 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'Pedro Leitao' <pete@jeeves.poopie.net> Cc: freebsd-questions@freebsd.org Subject: RE: crontab Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105867@site2s1>
next in thread | raw e-mail | index | archive | help
This is because the crontab entries for an individual user do not have a column for the username to run the specified program as. You need to do one of two things. Either move this to /etc/crontab (the system crontab), where there IS a column for effect user or remove the word " root " from the crontab entry. Either way will fix it, but generally that line goes in /etc/crontab not in root's personal crontab file. -Chris > -----Original Message----- > From: Pedro Leitao [SMTP:pete@jeeves.poopie.net] > Sent: Saturday, May 08, 1999 10:17 AM > To: freebsd-questions@freebsd.org > Subject: crontab > > > > Something is wrong in my crontab for root. > Nothing seems to run because I get this message mailed > to root everytime something tries to run. > My crontab file has this as the path > > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/root:/usr/libexec > HOME=/var/log > 30 5 1 * * root periodic monthly 2>&1 | > sendmail root > # > # 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 > > I get this mailed to root. > > Date: Sat, 8 May 1999 01:05:01 GMT > From: root (Cron Daemon) > To: root > Subject: Cron <root@jeeves> root /usr/libexec/atrun > > root: not found > > this is just a sample of crontab, I did not change anything in it, > these are the default settings. > > thanx > _P_ 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?6C37EE640B78D2118D2F00A0C90FCB4401105867>