[TriLUG] Crontab

Randy Barlow randy at electronsweatshop.com
Mon Jun 11 10:59:23 EDT 2007


dsandif wrote:
> _*this is the time server that I'm trying to access:*_
> 
> /usr/sbin/ntpdate -s clock1.net.unc.edu
> 
> 
> _*And this is what I get back:
> *_
> No crontab for root. Using an empty one..
> 
> Bad minute errors in crontab file can't install
> do you want to retry same edit?
> 
> Can't edit crontab

First of all, I would recommend using ntpd rather than cron, but if cron
it must be for you: is the command the only thing you are entering in
your cron file?  Because before the command must come several numbers
that tell cron when and how often you want the command to run.  Man cron
or google it for details...

R



More information about the TriLUG mailing list