Date: Thu, 22 Apr 1999 13:10:25 +0200 From: Stefano Riva <sriva@alice.it> To: Rudi Opperman <rudi@askas.co.za> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help with cron and crontab mail messages Message-ID: <3.0.5.32.19990422131025.00a47eb0@relay.alice.it> In-Reply-To: <371EF55C.F7F3262A@askas.co.za> References: <Pine.BSF.4.03.9904211216050.27954-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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. --- Stefano Riva Software Engineer - Systems Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it 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?3.0.5.32.19990422131025.00a47eb0>