Pedro Espinoza wrote:
> I added PATH variable to /etc/default/cron, and then did svcadm
> refresh cron. It didn't pick up the PATH in the /etc/default/cron.
> When I did svcadm restart cron, it did. So, whats the difference
> between refresh and restart?
> 

Pedro,

Restart essentially does stop and start. The optional refresh is suppose 
to reload configuration from configuration file or smf repository 
without interrupting the daemon. On refresh, SMF makes sure the 
service's current properties are up to date and it's up to the daemon to 
handle its own reload. In the case of cron, the optional refresh doesn't 
exist so the daemon does nothing.

hope that helps,
tony

Reply via email to