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 reply to Re: Re: Re: Disowning CRON
by seaver
in thread Disowning CRON
by daveime
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |