Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stop the cron dimon

Status
Not open for further replies.

adva

Technical User
Nov 19, 2001
32
0
0
US
does anybody knows why i cant stop the cron dimon (/etc/rc2.d or /etc/init.d) on a machine that is used as ypserver? (the Os is 2.5.1)
 
You could rename /etc/rc2.d/S75cron to /etc/rc2.d/s75cron.
Note the lowercase "s".

Then reboot.

To stop it without rebooting
find the cron process
# ps -ef | grep cron
root 217 1 0 08:41:49 ? 0:00 /usr/grep/cron

then kill it
# kill -9 217

However cron can run important system functions, stopping it might affect your system. It may be better to stop users having access to cron by adding their user names to /etc/cron.d/cron.deny.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top