Search Again:

Re: billing cycle

From: Avi Freedman
Date: Sunday, January 10, 1999
Time: 7:23:48 am

> Avi Freedman wrote:
>
> >Will Opti keep retrying the telnet scripts for putting someone on hold,
> >setting up users, etc... if it fails a few times?
>
> Unfortunately no.
>
> It would be awesome, but unfortunately, there isn't a way for the
> telscrpt.exe application to talk back to Optigold ISP and report back if
> it failed or not. It reports back to the user, but is unable to report
> back to the app itself.
>
> - Shawn

Oof, hmm.

Can you make it log the requests that failed to a file, perhaps, and the
next time it's invoked, try it again?

I'm sure you can have the telscrpt.exe program return 0 for success or
1 for failure, right?

So without modifying telscrpt you could write a small little wrapper
(or I could) to do that functionality. (If returns 1, save the command
line parameters. Every time the wrapper is invoked, do the current deed
then see if any old things need to be executed. For simplicity I'd make
the list of things needing to be done a directory with one-line-per-file
to avoid rewriting/locking issues.)

Avi



Messages In This Thread:



Return to Digital Point Solutions' Home Page