[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: detecting/killing eggdrops thru cron



ppl can always rename the file and the config file.

if i where you i would do something like this,


cd /home ; grep -i 'eggdrop' */* | \
mail -s "eggdrop report" you@your.server.com


i.e search the entire /home path for files wich includes 'eggdrop'

Christofer,

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
> 


Reply to: