Re: detecting/killing eggdrops thru cron
kill -9 `pidof eggdrop`
will work, as long as the program is not renamed to "dropegg", or
something ;-(
You could add the "signature" of eggdrop to your .dat file, and declare it
a virus ;-) Joking.
HTH
On Wed, 12 Jan 2000, Sharon Ann wrote:
> hello All !
> i dont know shell scripting that well so i was wondering if someone can
> lend me a hand as to how to write a shell script that i can add in my cron
> w/c performs a "ps ax", tests the output to see whether there is a running
> process named "eggdrop" and if true, kills those processes ...
>
> TIA,
> Shawie =P~
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanjeev "Ghane" Gupta Tel: +91(11) 6941831, 6945227
Eurolink Systems Ltd Fax: +91(11) 6943732
New Delhi, India email: ghane@eurolink.stpn.soft.net
Eurolink doesn't pay me to speak for it, so I don't
Quid quid latine dictum sit, altum viditur
Reply to: