LinuxMoz

Linux Stuff && Coffee

Stop, Start & Restart Cron on Linux

| Comments

This guide covers how to stop, start and restart cron on Linux systems, the following examples will show you how to restart the cron daemon on almost any distro.

How to restart cron on Linux

To restart cron make sure you are the root user (or sudo on Ubuntu) and run the following command:

1
/etc/init.d/crond restart

Restart cron on Linux

How to start cron daemon

To start cron daemon on Linux enter the following:

1
/etc/init.d/crond start

The cron daemon will now start.

How to stop cron daemon on Linux

To stop the cron daemon on Linux systems enter:

1
/etc/init.d/crond stop

The cron daemon will now stop, this means that all your cron jobs will also not run as scheduled – if you found this on how to restart cron on Linux you might find our cron syntax guide useful.

Comments