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

matttrick

macrumors 6502
Original poster
Aug 28, 2006
372
0
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..
 

BlueRevolution

macrumors 603
Jul 26, 2004
6,054
2
Montreal, QC
Sure is.
 

Attachments

  • Picture 1.png
    Picture 1.png
    145.5 KB · Views: 1,454

matttrick

macrumors 6502
Original poster
Aug 28, 2006
372
0
eh also i need to enter my password on the second command, seems to be hanging it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.