How to run a script on shut down

Erik Christiansen dvalin at internode.on.net
Thu Nov 27 02:31:28 UTC 2008


On Wed, Nov 26, 2008 at 08:57:26PM -0500, CLIFFORD ILKAY wrote:
> 
> apt-get install kcron

kIs kthere ka kneed kto koverspecialise kstandard kstuff?

Ray, you'll normally find that cron is already installed.
Since your application doesn't need to worry about what happens when the
machine is off for a few days, you won't need to install anacron either.
(At least that offers something not already there. ;-)

> Couldn't get simpler that, but you've been already told this and seem to
> have a penchant for doing things the hard way. :) And no, it doesn't
> matter if you use Gnome. KDE apps will run just fine on Gnome too.

It can be simpler. Use the standard generic tool which is already there. :-)

Erik

-- 
If you can't beat it or corrupt it, you pretend it was your idea in
the first place.                 - Terry Pratchett, in Guards! Guards!





More information about the ubuntu-users mailing list