Hello Don!
17 Jan 98 21:47, Don Johnson wrote to All:
DJ> OK, I'm having a couple of problems with In-Joy that I need help with.
DJ> 1. At times, when I dial my ISP, right after the CONNECT, I get a
DJ> bunch of garbage charaters. In-Joy will sit there for a while, then
DJ> close the commport. Unfortunately, this is not good since In-Joy is
DJ> running automated. So, I need In-Joy to either re-dial, or exit.
DJ> In-Joy does redial if it gets a busy, or no answer. Any suggestions?
Don,
Here's the script I use to keep injoy up. basically it's a script which
periodicaly "pings" a known address, like your ISP, and if the ping is bad,
it assumes that injoy isnt operating and "kills" the process and restarts
injoy.
Works great.
/* */
call RxFuncAdd 'SysloadFuncs','RexxUtil','Sysloadfuncs'
call sysloadfuncs
c:
'cd\injoy'
signal start
top:
'start "injoy" /c /min in-joy.exe'
test:
call syssleep 600
start:
address cmd "ping your.isp 54 1"
if rc = 0 then signal test
address cmd "killjoy.exe"
signal top
--------------------------------------------------------
Bill
bespo@cereal.mv.com
http/ftp/telnet cereal.mv.com
--- GoldEd/2 3.00 alpha1+ - AdeptXBBS v1.11.whatever (FreeWare)
---------------
* Origin: The Cereal Port BBS 603-899-3335 199.125.78.133 (1:132/152)
|