PDA

View Full Version : how do I get cron to run, knoppix 6.2?



turbine
12-02-2010, 01:33 PM
cron doesn't start automatically when I boot the system. I did a search on this forum for cron but didn't find anything. How do I start cron at startup?

turbine
12-02-2010, 05:59 PM
I got it to work by adding

sudo /etc/init.d/cron start

to the /etc/X11/xinit/xinitrc file before starting X. But this is a kluge. If anyone has a better method I'd like to know what it is.

klaus2008
12-02-2010, 07:16 PM
I think that you can add cron to the SERVICES string in /etc/rc.local

turbine
12-02-2010, 07:45 PM
Thank you, klaus2008. That worked great. I like your method much better.