X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/e480c0e52fadac2ffac84c751cb7b0f606e93efc..HEAD:/src/static/scripts/checkfiles.sh diff --git a/src/static/scripts/checkfiles.sh b/src/static/scripts/checkfiles.sh index 5c9e4bd..b0674e4 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 +#!/bin/sh +hours=$((XXX*60)) +find /path/to/files/ -mmin +$hours -exec rm -f {} \;