Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2016-10-26 05:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.