Check if a php script is running
Posted
by Nirmal
on Stack Overflow
See other posts from Stack Overflow
or by Nirmal
Published on 2010-04-14T01:52:34Z
Indexed on
2010/04/14
1:52 UTC
Read the original article
Hit count: 279
I have a script that listens to a jabber server and responds accordingly. Though it's not supposed to stop, last night it did. Now I want to run a cron job every minute to check if the script is running, and start it if not.
The question is, how do I check if a particular script is still running?
Some solutions have been posted here, but those are all for Linux, while I am looking for a Windows solution. Any ideas please? Thanks.
© Stack Overflow or respective owner