Module: tools Branch: master Commit: d104f7a7905d5bfeccab790ad38377bc17fdadad URL: http://source.winehq.org/git/tools.git/?a=commit;h=d104f7a7905d5bfeccab790ad... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Sep 5 19:33:39 2013 +0200 winetest: Expire old queue files after a month. --- winetest/winetest.cron | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/winetest/winetest.cron b/winetest/winetest.cron index 0ff60be..eaacf4f 100755 --- a/winetest/winetest.cron +++ b/winetest/winetest.cron @@ -23,5 +23,10 @@ if [ ! -f $lock ]; then # remove old test builds (cd builds && find . -mtime +$expire -name winetest\*.exe -print0 | xargs -0 rm -f) + + # remove old queue files + find queue -maxdepth 1 -mtime +30 -name err\* -print0 | xargs -0 rm -rf + find queue -maxdepth 1 -mtime +30 -name CGI\* -print0 | xargs -0 rm -f + rm $lock fi