Menu

Auto-Reconnect?

2002-09-26
2003-02-09
  • Richard Langis

    Richard Langis - 2002-09-26

    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

     
    • Andrew Burke

      Andrew Burke - 2002-10-10

      The bot should try to reconnect, what error are you seeing?  How long is the link down for?

       
    • Shannon Wynter

      Shannon Wynter - 2003-01-12

      This is most probably an issue with the IP address on your interface changing. I belive it's being looked into

       
    • Elberet

      Elberet - 2003-02-09

      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. :)

       

Log in to post a comment.