>this isn't totally a Yarn question, but I didn't know where else to check.
>I'm on the road quite a bit, and can only dial in to my ISP once a day or
>so. Many of the newsgroups I subscribe to get purged pretty frequently from
>my ISP's news server. What I'd like to do is set up my home machine to dial
>into my ISP, download the news from the various groups to SOUP packets, and
>store them for me to later pick up by dialing into my home machine.
>
>I have a script to download the packets, but what I need is a way to
>automate the dialup process, wait for the batch file to finish, the
>disconnect the DUN connection.
>
>Any suggestions would be appreciated. I'm using Win95b with WSH installed,
>if that helps. I'm tinkering with it (Windows Scripting Host), but I'm not
>good enough with it to handle DUN stuff.
>
>Thanks in advance for any help.
>
If you had REXX, it would be fairly simple. But I believe REXX for
Windows is not free.
An alternative is a wait program in your script that waits, say 4
hours. After the wait, do your script then loop back to the wait
program. A minimal program in 'C' would do it:
int main(void) {
sleep(seconds);
return 0;
}
There may be a wait function in your script language though.
As for disconnecting, Vsoup disconnects fairly quickly I think if there
is no activity.
Alan