i have 3 bots running, the ISP went down for 10 mins this morning for maintenance i was watching to see if the bots would come back to the channels they are supposed to be sitting in but they didnt is there anything i was supposed to change or add? Mike
i heard about that crontab program but not sure if i was using the right one or not since im using Winblows and it didnt want to do what i was asking it, any suggestions?
The botchk script and crontab are used to automatically restart the bot if the shell it's on reboots or if the bot process is killed for some other reason. You can find the botchk file in the scripts directory (in the directory you installed the bot to). Newer versions of Eggdrop (from 1.3.24i) have a script included that automatically configures botchk and crontab for you. In telnet, simply switch to the scripts directory and type chmod 700 autobotchk then ./autobotchk <config> -dir /home/botdir -noemail, where /home/botdir is the directory you installed the bot to and <config> is the name you chose for your config file.
Otherwise, you can edit the botchk file and insert the required crontab entry manually. There are only four things you need to set in the botchk file, all of which are pretty self explanatory. Once you've edited the botchk file, you need to add an entry to your crontab. Here's the best method:
This will run the botchk script every 10 minutes, which checks that the bot is running and restarts it if it isn't. You just need to change the /home/botdir part to the correct path to the bot on your shell (type pwd to show this). Type the line in Notepad or some place where you can highlight and copy it from.
2) Type crontab -e. This should bring up the vi editor (it will appear as a bunch of lines starting with the ~ character), but may open up the pico editor instead.
3) For vi, do the following - hit ctrl-L, hit i, paste the crontab line you created earlier, hit Esc, type :wq! then hit Enter (if you make a mistake doing this, just hit Esc and start over). For pico - paste the crontab line you created earlier, hit ctrl-X, hit Y when prompted to save, hit Enter when prompted for a filename.
You can view your current crontab entries by typing crontab -l. To clear your crontab, use crontab -r (may be crontab -d on some shells).
you have a problem with following that? if so, what exactly is that you don't understand?
paste +srvd console log of failing connect attempts, also the output of .dccstat and ipconfig (the latter is network utility you need to run from DOS command prompt)
They dont have any failed connect attmepts, they connect to the server fine, but when the isp goes down i have to restart them in order for them to go to the channel basically they sit on the server and dont join the room until a restart is issued