LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cron job problem. (https://www.linuxquestions.org/questions/linux-newbie-8/cron-job-problem-833170/)

ge_shekhar 09-19-2010 04:40 AM

cron job problem.
 
Hi ,

I have setup an application in crontab, but whenever i restart my server cron job dosent start automatically every time i have to start it as service crond start. Please advice is there any way to start cron job automatically when server starts.


Shekhar

quanta 09-19-2010 04:49 AM

Which distro are you using?

ge_shekhar 09-19-2010 05:15 AM

Hi

I am using redhat 5.4.



Shekhar.

vinaytp 09-19-2010 05:19 AM

Quote:

Originally Posted by ge_shekhar (Post 4102353)
Hi

I am using redhat 5.4.



Shekhar.

Code:

/sbin/chkconfig --level 35 crond on
Make sure crond is on for runlevel 5 and 3

Code:

/sbin/chkconfig --list | grep crond

ge_shekhar 09-19-2010 06:08 AM

Thanks my problem is resolved.


All times are GMT -5. The time now is 08:41 PM.