crontab after reboot

Jude DaShiell jdashiel at shellworld.net
Fri Aug 21 08:13:58 UTC 2009


It's possible that single line crontab command could have been temporary 
in nature.  How you make it permanent is in one of a couple ways.  You 
have choices here.  Do you want the crontab command to run from a user 
account or on a system-wide basis?  If on a system-wide basis try man -k 
crontab and read the entry you haven't read yet, it'll talk about 
/etc/crontab file structure and perhaps /etc/crontab.  If in a user 
account is good enough, type crontab -e and hit enter.  You'll be running 
an editor in a temporary file key the rest of that crontab command into 
that file, on one line if it's a single line command then on the next line 
you'll probably need to do :wq and that will save your cron job for you. 
Once that's saved, check it with crontab -l and hit enter.  If you don't 
read back exactly the command you typed in, then crontab -e and erase 
everything in the file and repeat until you get it right.





More information about the Blinux-list mailing list