logging changes

pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent dba3e57320
commit d359447ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,11 +12,11 @@ if [ -f "/config/logs/PlexNotify.txt" ]; then
fi fi
exec &>> "/config/logs/PlexNotify.txt" exec &>> "/config/logs/PlexNotify.txt"
chmod 777 "/config/logs/PlexNotify.txt" chmod 666 "/config/logs/PlexNotify.txt"
log () { log () {
m_time=`date "+%F %T"` m_time=`date "+%F %T"`
echo $m_time" :: "$1 echo $m_time" :: PlexNotify :: "$1
} }
if [ "$arrEventType" == "Test" ]; then if [ "$arrEventType" == "Test" ]; then

Loading…
Cancel
Save