Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Automatically restarting process

by krujos (Curate)
on Jul 25, 2002 at 15:52 UTC ( #185233=note: print w/replies, xml ) Need Help??


in reply to Automatically restarting process

You can launch the bot and watch the process or the connection (I am not sure if you mean the whole process dies, or just becomes disconnected). In your loop look to see if the process is still active, if he is not turn him back on.
something like
launch bot while (1) if [ bot not connected, alive or whatever] restart, reconnect or whatever... end while
Depending on the exact implementation and platform this may be rolled up for you in a module.
good luck

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://185233]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2016-12-04 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (61 votes). Check out past polls.