Update DailySeriesEpisodeTrimmer.bash

pull/1/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 4e4ef8f541
commit 8af1a6cb72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,11 @@ if [ -f "/config/logs/DailySeriesEpisodeTrimmer.txt" ]; then
find /config/logs -type f -name "DailySeriesEpisodeTrimmer.txt" -size +1024k -delete
fi
log () {
m_time=`date "+%F %T"`
echo $m_time" :: DailySeriesEpisodeTrimmer :: "$1
}
exec &>> "/config/logs/DailySeriesEpisodeTrimmer.txt"
chmod 666 "/config/logs/DailySeriesEpisodeTrimmer.txt"

Loading…
Cancel
Save