sebbo Posted March 27, 2013 Share Posted March 27, 2013 My first Alfred workflow. Flushes DNS cache on Lion and Mountain Lion by the method recommended by this Apple support article. All it does is run: killall -HUP mDNSResponder …with admin privileges (you'll be asked to authenticate). I made it because the other workflows I’ve seen use the <10.7 method (dscacheutil). Download Link to comment
stargOOse Posted March 27, 2013 Share Posted March 27, 2013 Is already here: http://www.alfredforum.com/topic/325-workflow-dns-cache/?hl=flush Link to comment
sebbo Posted March 27, 2013 Author Share Posted March 27, 2013 Oh, sorry, I missed that. I was under the impression that `sudo` bash scripts couldn't be used in Alfred workflows? Can anyone clarify? The only other difference is in this version the Notification is only displayed if the command runs without errors (and the workflow icon ). Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now