[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Cron Question (newbie)



--- Dean Hall <dean@xxxxxxxxx> wrote:
> 
> RaQ4 - cron is started at boot time by the scripts in /etc/rc.d/
> In particular you could look at /etc/rc.d/rc2.d/S40crond
> 
> To start or restart, as root, "/etc/rc.d/rc2.d/S40crond restart"

"/etc/rc.d/rc2.d/S40crond" is a softlink to /etc/rc.d/init.d/crond (the
master script).  The softlinks in the /etc/rc.d/rc?.d directories are
used to dermine the startup order of processes depending on the
runlevel.  Running 'init 4' will switch you into runlevel 4
(/etc/rc.d/rc4.d), where as 'init 6' will reboot the machine.  

You can use the chkconfig script to determine the runlevels at which a
certain process starts.  

The following command will list all the runlevels that crond will start
in:
     chkconifg --list crond

...and this command will modify them:
 
     chkconfig --level 23435 crond on
     chkconfig --level 016 crond off

hth,

-Jim P.
 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/