- Jul 15, 2003
- 537
- 0
- 0
hey there
so I have my own vpn server set up, and I'd like to have my computer automatically connect. I'm in a weird situation where the connection that the server is on dies every so often. When this happens, the client does NOT reconnect automatically, but the window is clsoed. I'd like to have a script running in the background that just dials the VPN every minute or so, so that downtime will be minimal.
Here's what I've got so far:
That command effectively dials the VPN connection (forked, so that it kicks back to a command line w/o effecting the connection). If the VPN is already open, it does nothing. I'm trying to write a batch file that will just run that command every minute or so.
Any ideas? Thanks!
cliffs:
trying to write batch file in XP that runs a command once per minute.
Don't know how
so I have my own vpn server set up, and I'd like to have my computer automatically connect. I'm in a weird situation where the connection that the server is on dies every so often. When this happens, the client does NOT reconnect automatically, but the window is clsoed. I'd like to have a script running in the background that just dials the VPN every minute or so, so that downtime will be minimal.
Here's what I've got so far:
c:\>rasdial "VPN NAME" username password
That command effectively dials the VPN connection (forked, so that it kicks back to a command line w/o effecting the connection). If the VPN is already open, it does nothing. I'm trying to write a batch file that will just run that command every minute or so.
Any ideas? Thanks!
cliffs:
trying to write batch file in XP that runs a command once per minute.
Don't know how
