diff --git a/src/static/scripts/checkfiles.sh b/src/static/scripts/checkfiles.sh index 5c9e4bd..07fab32 100644 --- a/src/static/scripts/checkfiles.sh +++ b/src/static/scripts/checkfiles.sh @@ -1,2 +1,3 @@ #! /bin/sh -find /path/to/files/ -mmin +1440 -exec rm -f {} \; \ No newline at end of file +hours=$((XXX*60)) +find /path/to/files/ -mmin +$hours -exec rm -f {} \; \ No newline at end of file