From 94509148bcd39ca04679aacbd21da24eeed4666c Mon Sep 17 00:00:00 2001 From: lulzette Date: Sat, 24 Apr 2021 10:20:55 +0300 Subject: [PATCH] asd --- cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.sh b/cron.sh index 6ec9866..80785bb 100755 --- a/cron.sh +++ b/cron.sh @@ -23,7 +23,7 @@ for i in $list; do [[ -f $storage_path/$i/pid ]] && echo $i "is recording!" || echo $i "is not recording" done echo "====" -echo "Removing old files (older than $ctime_remove days)" +echo "Removing old files (older than $ctime_remove days):" find $storage_path/ -ctime +$ctime_remove -name "*mp4*" find $storage_path/ -ctime +$ctime_remove -name "*mp4*" -exec rm {} \; echo "Done" \ No newline at end of file