re: crontab after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]