Evolution Solution

shockme on 2002-09-03T14:53:33

Background: Quitting Evolution is no guarantee. I knew that, but didn't think much of it. Even though you File->Exit or X out of Evolution, there is a real possibility that the processes won't be killed.

I've been bitten by this before, and I got bit again over the long weekend. Evolution was still running on my machine at the office, grabbing all of my email.

So, I wrote a little script using Proc::ProcessTable to kill it and crontab'd the script. So now, every night at 5:30, Evolution will die.

NB: For some reason, I couldn't get Proc::Killfam to do it's job. I followed the docs to the letter, but no joy. So, I had to shove a system("kill -9 $p->{pid}") into the script. Works like a hose.