SUMMARY: crond restart

From: Mark Lewis <Mark.Lewis_at_Kinetech.net>
Date: Mon Jun 04 2001 - 10:31:12 EDT
ok, it doesn't look like there's much better than a good old fashioned
stop/start to refresh cron in the event of having many automated changes
being made to the crontabs.  thanks for the various flowery alternatives.

mark


------------------------------
original post
------------------------------

best way of restarting the cron daemon from a script so all it does is
reread the crontabs:

a) /etc/rc2.d/S75cron stop and start	(dont like this, can not work)
b) find the pid manually and kill it; restart cron
c) send a kill -HUP a la inetd		(dont think this works.  plus, time
stamp of the process is not updated which would have been helpful)
d) something else

interested in people opinions here.
mark

--------------------------------


**********************************************************************
This email is intended only for the addressee. This email
and any files transmitted with it may contain confidential
or privileged information. If you are not the named
addressee or the person responsible for delivering the
message to the named addressee, please contact 
postmasters@Kinetech.net

This email has been scanned by MAILsweeper.
**********************************************************************
Received on Mon Jun 4 15:31:12 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:56 EDT