From b24f515a2ca8937d34b55f0569903bf6bcc0d57a Mon Sep 17 00:00:00 2001 From: jonsowman Date: Tue, 3 Aug 2010 08:30:52 +0000 Subject: [PATCH] More useful cronjob output --- cron/prune-predictions-cronjob.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron/prune-predictions-cronjob.sh b/cron/prune-predictions-cronjob.sh index 9b39f6d..6e6bcce 100755 --- a/cron/prune-predictions-cronjob.sh +++ b/cron/prune-predictions-cronjob.sh @@ -10,5 +10,5 @@ echo `ls $REPOROOT$DATADIR/ -l | wc -l` "prediction scenarios found" echo `find $REPOROOT$DATADIR/* -maxdepth 0 -$PARAM +$AGE | wc -l` "of them had $PARAM of more than $AGE days" echo "Now deleting..." find $REPOROOT$DATADIR/* -maxdepth 0 -$PARAM +$AGE -exec rm -rf {} \; -echo "DONE" - +echo "Done deleting." +echo `ls $REPOROOT$DATADIR/ -l | wc -l` "prediction scenarios remaining"