Hi all.
I don't have any programming skills but, I want to setup a scheduled vpn connection. I found a script that forces a vpn connection at boot/login. But i want to alter that so that i can connect to the vpn at particular day of the month and at a particular time. Any ideas?
Here is the script i found:
Than you in advanced!
M,
I don't have any programming skills but, I want to setup a scheduled vpn connection. I found a script that forces a vpn connection at boot/login. But i want to alter that so that i can connect to the vpn at particular day of the month and at a particular time. Any ideas?
Here is the script i found:
Code:
on idle
tell application "System Events"
tell current location of network preferences
set myConnection to the service "VPN University"
if myConnection is not null then
if current configuration of myConnection is not connected then
connect myConnection
end if
end if
end tell
return 120
end tell
end idle
Than you in advanced!
M,
Last edited by a moderator: