More useful cronjob output
rodzic
c30c59b7f0
commit
b24f515a2c
|
@ -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"
|
||||
|
|
Ładowanie…
Reference in New Issue