[olug] cron job

Scott Jones scottj.org at gmail.com
Tue Aug 2 03:18:19 UTC 2005


On Monday 01 August 2005 13:46, Jake Churchill wrote:

> I need to create a script to kill it and I can't figure out the string
> using ps aux | grep xmms.  I know I need a variable in there somewhere
> to catch the PID of xmms and then I pass that to kill but I'm having a
> hard time.  Someone once sent me code to do this and I lost it when I
> installed  SuSE.  Any suggestions?

kill `pidof xmms`


-- 
Homepage                        http://scottj.org
XFce desktop environment        http://www.xfce.org
Goodies for the XFce desktop    http://xfce-goodies.berlios.de
GPG public key ID: 811B00AB



More information about the OLUG mailing list