Linux: Start/Restart/Stop Cron Service

This post will guide you how to start/restart/stop the cron or crond service under the different linux operating system. How to restart cron servcie from command line under the CentOS/RHEL/Ubuntu Linux system. How to restart or stop the cron daemon in your Linux system.

The cron tool is used to run commands or scripts at a specified date and time in your Linux system. and the Crond daemon will check all crontabs to check if the command or scripts in crontab file should be run in the current time.

Start Cron Service


For CentOS/RHEL 5.x/6.x or Ubuntu Linux

If you want to start the Cron service in current Linux system, issue the following command:

#service crond start

Or

#/etc/init.d/crond start

For CentOS/RHEL 7.x or Debian/Ubuntu Linux

To start the cron service, issue the following command:

#systemctl start crond.service

Stop Cron Service


If you want to stop the Cron service in current Linux system, issue the following command:

#service crond stop

Or

#/etc/init.d/crond stop

For CentOS/RHEL 7.x or Debian/Ubuntu Linux

To stop the cron service, issue the following command:

#systemctl stop crond.service

Restart Cron Service


If you want to restart the Cron service in current Linux system, issue the following command:

#service crond restart

Or

#/etc/init.d/crond restart

For CentOS/RHEL 7.x or Debian/Ubuntu Linux

To restart the cron service, issue the following command:

#systemctl restart crond.service

 

You might also like:

Sidebar



back to top