I am new to servers and I want to setup cron. I want to check if cron is running on the server. To do that I use the following command.
crontab -l
I looked on Google for a command to check what is set to run in crontab. This is the command I think I should use.
crontab -u root -e
When I do that I get an editor. A picture of the editor is provided in the following screenshot.
I pasted the command below.
5 * * * * root /bin/sh /var/www/mour/cron.sh
Now I am stuck. How do I save the crontab?