Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mvmanolov

macrumors 6502a
Original poster
Aug 27, 2013
858
5
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:

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:

mvmanolov

macrumors 6502a
Original poster
Aug 27, 2013
858
5
no one has any input on this?

Am i asking the wrong kind of questions?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.