Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using RHEL 5.4

I killed the cron daemon accidentally. I wanted to stop a cron task, didn't know how to do it, ended up killing the cron daemon itself. How do I start it again?

share|improve this question
2  
It could depend on the linux distro you use. So update your answer with this information, please. –  enzotib Sep 23 '11 at 9:57
add comment

2 Answers 2

up vote 6 down vote accepted

Depending on how your exact distribution is set up, /etc/init.d/cron start or variations thereupon might do the trick.

share|improve this answer
add comment

Since you are on RHEL you may like to use the more practical:

service crond start

If you just type

service crond

and hit Enter, you will see all the implemented available options for the previous command:

Usage: /etc/init.d/crond {start|stop|status|reload|restart|condrestart}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.