Anyway, you could modify your script so that it saves it's own PID in a file. (You can get the PID from the special variable $$). Then have your new script (executed from cron every 5 minutes or so) look in that file and then check if that PID is active. If the PID is running, be sure to check the args too, so it's really your script that has that PID.
This would be really easy in Unix. I guess it could be done in NT too? I'll let someone else answer that...
In reply to Re: Process Reliablity
by dempa
in thread Process Reliablity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |