How to save a cron job

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 and C-x C-s to save and C-x C-c to exit for emacs.

Related Question