Command to ON/OFF cron job

Solution 1:

For the single cron job you can comment by editing with crontab -e.

If you have to stop all the cron jobs:

sudo service crond stop
sudo service crond status
sudo service crond restart

or

/etc/init.d/cron start
/etc/init.d/cron status
/etc/init.d/cron restart

or

sudo systemctl stop cron
sudo systemctl status cron
sudo systemctl restart cron