Author: Andrew Williams
Date: 13:04:43 04/16/01
Go up one level in this thread
On April 16, 2001 at 15:11:54, Jon Dart wrote:
>chessclub.com (ICC) drops a connection after 60 minutes of inactivity. It's not
>uncommon for my program to go 60 minutes without a match and it will then go
>offline. Does anyone have a way of getting around this? (I can think of several,
>from running an "at" script to modifying xboard, but I'm wondering if this
>problem has been solved before). I mostly run on Linux these days but would be
>interested in a solution that worked on Windows as well.
>
>B.t.w. freechess.org (FICS) doesn't have the 60 minute limit.
>
>--Jon
Hi Jon,
I'm not sure if this is what you meant, but my program is run in a shell
script. This doesn't stop it from logging out, but when it does quit (for
whatever reason) it sleeps for five minutes then reconnects:
while (1)
# ics
./icsANY
echo " "
echo " "
echo --- ICS SESSION ENDS ---
echo " "
echo Disconnected at `date`
echo Waiting to reconnect...
sleep 300
end
"icsANY" is another shell script which contains:
xboard -fcp "./postmodernist xboard" -popupExitMessage False blah blah
Andrew
PS Thanks for the email about PM.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.