On 02/04/2011 10:27 PM, Thomas Guthmann wrote:
Can you share your tmpwatch rules ? So we don't have to reinvent
the
wheel :)
Steve is using tmpwatch; I am not using tmpwatch, but here is the part
of the cron job that does it for me:
http://messinet.com/rpms/browser/koji-maint/koji-maint/koji-maint#L13
The variables koji_scratch_remove and koji_work_remove are defined as a
number of days.
Also, if you really trust 'find', you can change the action from -print
to -delete and simplify it even more.
-A
--
Anthony -
http://messinet.com -
http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E