Cron only reads the crontab file when it starts. Man cron and search for 
'examines'. As you found out, sending a HUP doesn't work. Since cron runs as a 
SMF controlled service in Solaris 10, killing the process will cause SMF to 
restart it. The crontab file will then be read and changes, if any, will be 
implemented. I used the following to test it:

pgrep -fl cron
  508 /usr/sbin/cron

sudo kill 508 # or sudo pkill cron

pgrep -fl cron
 1368 /usr/sbin/cron  # new process ID 1368 means it was restarted.

I hope this helps.

--ron
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to