X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/b637a55fcb65402c15aa06539983e02d2d51f355..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 {} \;