If you absolutely must edit the file (or you don't want to use vi) then do the following: crontab -l /tmp/crontab emacs /tmp/crontab crontab /tmp/crontab Otherwise, like what Vidiot said below, Mikkel -----Original Message----- From: Vidiot [mailto:[EMAIL PROTECTED]] Sent: Friday, February 04, 2000 7:31 AM To: [EMAIL PROTECTED] Cc: recipient.list.not.shown Subject: Re: cron >On Thu, 3 Feb 2000, Mikkel L. Ellertson wrote: > >> >I'm having trouble getting cron to exec under RH 6.1. Even >> >a simple job to 'ls' every minute does not fly as shown below. >> >If I put a script in /etc/cron.hourly that works though. >> >Thanks for any tips. > >You probably know this, but after editing /etc/crontab you need to restart >cron (or send -HUP to it) to make it read the changes. Putting something >in /etc/cron.* doesn't need this. > >Hossein First off, you shouldn't be editing /etc/crontab. If you have jobs you want to run as root, do the following as root: crontab -e Now add, or change, what you want. The same thing applies as users. MB -- e-mail: [EMAIL PROTECTED] Bart: Hey, why is it destroying other toys? Lisa: They must have programmed it to eliminate the competition. Bart: You mean like Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99] Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN) -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject. -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.