I have connected via ssh and have added a cron job but I can't figure out how to save it. I'm still on the crontab -e page how do I save my changes?
How to save a cron job
cron
cron
I have connected via ssh and have added a cron job but I can't figure out how to save it. I'm still on the crontab -e page how do I save my changes?
Best Answer
crontab -e simply fires up the crontab file for that account in your default text editor so you can edit it.
With nano, which is the default on ubuntu, you can hit
ctrl-x
then choose to save.From the comments
:wq
for Vim andC-x
C-s
to save andC-x
C-c
to exit for emacs.