Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 14, 2009, 02:41 PM   #1
matttrick
macrumors 6502
 
Join Date: Aug 2006
Automator to run terminal commands?

Is this possible? I need automator to run this set of commands:

dscacheutil -flushcache
sudo sysctl -w net.inet.tcp.rfc1323=0
sudo sysctl -w net.inet.tcp.recvspace=32768
sudo sysctl -w net.inet.tcp.sendspace=32768
sudo sysctl -w net.inet.tcp.win_scale_factor=1
sudo sysctl -w net.inet.tcp.sockthreshold=0

Every 6 hours or so. It is for playing WoW, if I dont do that like once every other day or so, WoW will just kill the connection every time I log in, and this fixes it. It would be nice to not have to worry about it.

I've never used automator before so idk if this is even possible..
__________________
15" 2.16 Core Duo MBP / 20" 2.4 Core 2 Duo iMac / Silver G3 Nano / Green G2 Nano
matttrick is offline   0 Reply With Quote
Old Feb 14, 2009, 03:17 PM   #2
BlueRevolution
macrumors 601
 
BlueRevolution's Avatar
 
Join Date: Jul 2004
Location: Montreal, QC
Sure is.
Attached Thumbnails
Click image for larger version

Name:	Picture 1.png
Views:	952
Size:	145.5 KB
ID:	157878  
__________________
PIRATE PARTY OF CANADA Information leadership for the 21st century
BlueRevolution is offline   0 Reply With Quote
Old Feb 14, 2009, 04:25 PM   #3
matttrick
Thread Starter
macrumors 6502
 
Join Date: Aug 2006
nice, how do i make it run at a certain interval?
__________________
15" 2.16 Core Duo MBP / 20" 2.4 Core 2 Duo iMac / Silver G3 Nano / Green G2 Nano
matttrick is offline   0 Reply With Quote
Old Feb 14, 2009, 04:57 PM   #4
matttrick
Thread Starter
macrumors 6502
 
Join Date: Aug 2006
eh also i need to enter my password on the second command, seems to be hanging it.
__________________
15" 2.16 Core Duo MBP / 20" 2.4 Core 2 Duo iMac / Silver G3 Nano / Green G2 Nano
matttrick is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How to Erase Terminal Commands ezhu OS X Mavericks (10.9) 1 Mar 12, 2014 10:11 PM
General: FIX "Error opening terminal: xterm-256color" for Terminal Commands (e.g., "top") iOS7 thelatinist Jailbreaks and iOS Hacks 9 Jan 10, 2014 07:46 PM
Terminal commands dhokes OS X 6 Oct 21, 2013 10:24 AM
Terminal Commands: Networking related commands? MacNoobGuy OS X 3 Oct 27, 2012 09:10 AM

Forum Jump

All times are GMT -5. The time now is 03:32 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC