|Jul 7, 2009, 10: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, 12:35 PM||#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|
|UUID Command in Terminal?||cdoolittle17||Mac Programming||3||Feb 28, 2014 01:54 PM|
|Terminal command error||Ddyracer||OS X 10.8 Mountain Lion||7||Aug 27, 2013 10:51 AM|
|Terminal command||andynewfriends||Mac Basics and Help||0||Jun 11, 2013 02:25 PM|
|Apple Automator Application using Terminal||lldubbs||Mac Programming||3||Apr 15, 2013 11:15 AM|
|Need command in terminal||chadteetzen||OS X||1||Jun 8, 2012 11:55 PM|
All times are GMT -5. The time now is 01:44 PM.