How to quit crontab -e without overwritting cron
Wednesday, August 22, 2012
When you finish creating entries and exit the file, the crontab command
copies it into the /var/spool/cron/crontabs directory
Even if you did not make change, you overwrite the content of your crontab !
copies it into the /var/spool/cron/crontabs directory
Even if you did not make change, you overwrite the content of your crontab !
If you want to exit your crontab editor really without overwritting the crontab, you need to kill yourself.
Ex:CTRL-Z
[2] + Stopped (SIGTSTP) crontab -e
$ kill –9 %2
$
[2] + Stopped (SIGTTOU) crontab -e
Labels: How to quit crontab -e without overwritting cron
0 comments:
Subscribe to:
Post Comments (Atom)
Powered by Blogger.