|Jul 7, 2009, 09:57 AM||#1|
Running a command in Terminal from Automator?
Ok, so on my OSX server, we have Python running at 100% CPU usage at random times, and to get it to stop, I'm forced to run a Terminal command.
I want to know if it is possible to use Automator to run said command in Terminal under root once a day at a given time, with no user input.
The command I am using is
sudo killall -9 Python
|Jul 7, 2009, 11:35 AM||#3|
cron is probably what you want, but if you really need to do it in Automator, you can create a shell script with your command in it and then use the "Run Shell Script" action.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|auto run command in terminal||runrunforest||Mac Basics and Help||1||May 31, 2011 04:18 AM|
|Running a Command on Shut Down||gtr053||OS X||2||Feb 9, 2011 02:59 PM|
|Solved; Cannot run commands in Terminal, it is a mystery||Dr.Pants||Mac Basics and Help||7||Jun 17, 2010 06:46 PM|
|get a dns name from a ping command in terminal?||Sethable||OS X||0||Apr 4, 2008 08:29 AM|
|how to run a command in terminal at startup?||phuong||Mac Programming||2||Jan 21, 2008 10:46 PM|
All times are GMT -5. The time now is 11:52 AM.