Date: Thu, 22 Apr 1999 11:50:40 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: Stefano Riva <sriva@alice.it> Cc: Rudi Opperman <rudi@askas.co.za>, freebsd-questions@FreeBSD.ORG Subject: Re: help with cron and crontab mail messages Message-ID: <Pine.BSF.4.03.9904221150310.7869-100000@resnet.uoregon.edu> In-Reply-To: <3.0.5.32.19990422131025.00a47eb0@relay.alice.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 Apr 1999, Stefano Riva wrote: > At 12.09 22/04/99 +0200, you wrote: > >Yes, this is exactly what happened. I have however attempted to fix the > >problem. I have removed my additional jobs from /etc/crontab and adding > >them to root's crontab (/var/cron/tab/root i think) "via crontab -e" > >whilst logged in as root. (ie not by editing the file directly) > > However i still get the above message - what does it mean - and why are > >the jobs not running? After all, they did when i added them > >(incorrectly) to /etc/crontab and then did "crontab -u root > >/etc/crontab". > >Should i instead add them to /etc/crontab and bring them up, as root, > >via "crontab /etc/crontab" ? > >help > > Don't panic! Please read carefully the answers. Here in Italy, we would > say "you're drowning in a glass of water"... ;-) > > If you want to put your jobs in /etc/crontab, then *DON'T* "bring them > up"! Simply open /etc/crontab, add your jobs, save the file and cron will > run them automagically. Just in case you have to clean the root user's > crontab after past trials, use "crontab -r". > If you want to use users' crontabs, the syntax is different, so *DON'T* > put "root" or any other user in the lines describing your jobs; that column > doesn't exist in users' crontabs, because the jobs are always run as the > owner of that crontab. > Don't forget to kill -HUP cron. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org 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?Pine.BSF.4.03.9904221150310.7869-100000>