Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Applescript/Automator turn off internet
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MacsWork" data-source="post: 1331704" data-attributes="member: 11094"><p>This hint will show you how to disable/enable the Airport of your Mac.</p><p><a href="http://hints.macworld.com/article.php?story=20031206194417678" target="_blank">Enable and disable Airport from the command line - Mac OS X Hints</a></p><p></p><p>Then use an Automator action to run a shell script with those commands, and then schedule those Automator Applications with iCal to run at 6:00AM and maybe 6:15AM to re-enable.</p><p></p><p>The problem you will face is running sudo commands unattended. Which is not a good practice.</p><p></p><p>This thread will go over some methods (with obvious security concerns) as well as methods to limit damage.</p><p><a href="http://hintsforums.macworld.com/archive/index.php/t-85523.html" target="_blank">Shell script sudo without password prompt under Darwin? [Archive] - The macosxhints Forums</a></p></blockquote><p></p>
[QUOTE="MacsWork, post: 1331704, member: 11094"] This hint will show you how to disable/enable the Airport of your Mac. [url=http://hints.macworld.com/article.php?story=20031206194417678]Enable and disable Airport from the command line - Mac OS X Hints[/url] Then use an Automator action to run a shell script with those commands, and then schedule those Automator Applications with iCal to run at 6:00AM and maybe 6:15AM to re-enable. The problem you will face is running sudo commands unattended. Which is not a good practice. This thread will go over some methods (with obvious security concerns) as well as methods to limit damage. [url=http://hintsforums.macworld.com/archive/index.php/t-85523.html]Shell script sudo without password prompt under Darwin? [Archive] - The macosxhints Forums[/url] [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Applescript/Automator turn off internet
Top