DragonFly kernel List (threaded) for 2008-10
DragonFly BSD
DragonFly kernel List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: HAMMER cleanup


From: Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx>
Date: Thu, 30 Oct 2008 23:24:55 +0100

>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



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