Edit Cron Jobs in Linux

If you create cron jobs in Linux, you will eventually need to edit those cron jobs. Well, how the heck do I do that? Run the command below and you’re good to go.

crontab -e

If you don’t see the cron job that you know that you created, make sure to run crontab -e with the user that you used to create the cron job. For example, you may run the command below to see if other cron jobs exist under different users.

sudo crontab -e

In addition, you may at times get response asking you what editor to use. We prefer to use nano but you can use whichever you’re most comfortable with. We created a nano cheat sheet to make it easy to start using the nano editor.

Leave a Reply

Your email address will not be published. Required fields are marked *