:10 1 * * * (cd /root/adm; /usr/bin/lockf -k -t 0 .lockfile ./hms) & : :and I put this in the /etc/rc.shutdown : :(cd /root/adm; /usr/bin/lockf -k -t 0 .lockfile ./hmc) : :Will this do the trick ? :-) : :Thanks again : :--Siju
It should, except for the shutdown script you probably want to try to kill the other scripts frist and then do a lockf -k -t 10 to pick up the hmc script if/when the others finish terminating, with 10 timeout in case something races and doesn't terminate (lock file still held by someone else). -Matt Matthew Dillon <dil...@backplane.com>