X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/3b940afe60766515adaab1a036a0386874d8afe1..HEAD:/src/static/scripts/checkfiles.sh diff --git a/src/static/scripts/checkfiles.sh b/src/static/scripts/checkfiles.sh index fff78b3..b0674e4 100644 --- a/src/static/scripts/checkfiles.sh +++ b/src/static/scripts/checkfiles.sh @@ -1,3 +1,3 @@ -#! /bin/sh +#!/bin/sh hours=$((XXX*60)) -find /path/to/files/ -mmin +1440 -exec rm -f {} \; \ No newline at end of file +find /path/to/files/ -mmin +$hours -exec rm -f {} \;