The stupid question is the question not asked | |
PerlMonks |
Re: Re: Re: Disowning CRONby seaver (Pilgrim) |
on Jun 05, 2003 at 21:23 UTC ( [id://263514]=note: print w/replies, xml ) | Need Help?? |
If you're writing in a Linux box (i cant vouch for the other unixes) you can check out the list of start-up scripts in /etc/init.d. A few scripts are written to be 're-startable', and will find and restart the process in question when run with the option '-restart'. These scripts would give you a good idea of how they look for a process already running, in order to stop it, and start it again. Sam
In Section
Seekers of Perl Wisdom
|
|