HAMMER cleanup

Thomas Nikolajsen thomas.nikolajsen at mail.dk
Thu Oct 30 15:29:34 PDT 2008


>Anacron is not a (very) complicated beast. Basic functionality could be provided by a
>simple script that checks if a timestamp was updated at most <bar> days ago.
>If timestamp is old, run cleanup. Run this script every <foo> minutes.

This is not neded for `hammer cleanup' as it do save timestamp for last invocation and
only executes cleanup if configured period has elapsed.

Idea might be applicable for periodic(8), which is run from crontab for now.
But it need to be defined per job if absolute time or just period is important.

 -thomas





More information about the Kernel mailing list