Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Auto-restarting script if it dies

by mojodaddy (Pilgrim)
on Mar 13, 2007 at 16:42 UTC ( #604607=note: print w/replies, xml ) Need Help??


in reply to Re^3: Auto-restarting script if it dies
in thread Auto-restarting script if it dies

No, checkme.txt is never deleted; it gets overwritten each time the script starts, though, so the scenario you described never occurs.

The thing's been working great, too -- almost too well! It was pretty hilarious the first couple of times I tried to restart the script because I'd made a change to the code. It just kept popping back up again! It was like playing whack-a-mole. I've since concluded that stopping the checker first and then stopping the script is the preferred technique!

  • Comment on Re^4: Auto-restarting script if it dies

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://604607]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2021-01-24 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?