X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/83f3f11f98cb76d857a471fb7cca6cf6580deeb2..78c444daa8ff292a83e912f44e063e106d3b48df:/src/static/scripts/checkfiles.sh 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