I'm using perlbot-1.9.5 and occasionally I've had network problems or power outages that separate my systems from the irc network.
In the case of power outages, I know there's nothing that can be done from your side. However, when the bot drops from the channel due to a network problem, it would be nice if it was able to wait and keep trying to reconnect when the link came back up.
I'm thinking something more interesting than a cron job that runs every 5 minutes or so that checks to see if the bot is running, obviously.
Thanks,
-Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Heh, this is preventive, not intended to step on anyone toes... If you're going to load the bot (great work btw!) with feautures for auto reconnecting (instead of exiting on failure) or forking into background on startup, please don't forget to provide a config option to turn that behavior off for those people like me who'd rather do things with daemontools or similar software. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone.
I'm using perlbot-1.9.5 and occasionally I've had network problems or power outages that separate my systems from the irc network.
In the case of power outages, I know there's nothing that can be done from your side. However, when the bot drops from the channel due to a network problem, it would be nice if it was able to wait and keep trying to reconnect when the link came back up.
I'm thinking something more interesting than a cron job that runs every 5 minutes or so that checks to see if the bot is running, obviously.
Thanks,
-Richard
The bot should try to reconnect, what error are you seeing? How long is the link down for?
This is most probably an issue with the IP address on your interface changing. I belive it's being looked into
Heh, this is preventive, not intended to step on anyone toes... If you're going to load the bot (great work btw!) with feautures for auto reconnecting (instead of exiting on failure) or forking into background on startup, please don't forget to provide a config option to turn that behavior off for those people like me who'd rather do things with daemontools or similar software. :)