On 2012-07-21 15:30, Dr.Ruud wrote:
On 2012-07-21 14:50, punit jain wrote:
*(B) How do I stop the script graceful without killing the processes and
stop from other sunbprocesses being spanned ?*
Just let $SIG{INT} and $SIG{TRM} also set $STOP.
s/TRM/TERM/
See `kill -l` for the names.
Per child you can update $0, to be able to watch the status of the
process in ps.
You could for example make $SIG{HUP} reread some ini-file,
to reset config variables like a $endtime.
(alternative to SIGALRM)
--
Ruud
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/