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

Re: detecting/killing eggdrops thru cron



How about `killall -KILL eggdrop' ?
But imagine that some of your users has renamed eggdrop to something else?
perhaps init?

_________
Damyan Ivanov

> 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~



Reply to: