Or Continue to Thread: Scheduled Scripting App - Sche…
Find Your Device:
24th September 2009, 08:16 AM   |  #16  
Proxin's Avatar
Senior Member
Pallet Town
Thanks Meter: 12
 
469 posts
Join Date:Joined: Feb 2009
More
Great job with the app
If anyone needs a command to kill a certain task on startup (AK Notepad was starting up for me all the time), do the following:
Type in Terminal
Code:
ps
This will display all of the processes that are currently running.
Find out the PID of your process you want to kill; mine was 491.
Plug it in to where x is:
Code:
kill -9 x
So in my case, I typed:
Code:
kill -9 491
And it killed AK Notepad from processes. So if you want to auto-kill a process, that's what you could do - put kill -9 [your PID here] into the autostart script after every reboot.
Hope this helps.