From 26c65ff71189a198125a81613d277d863c81c623 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 19 Jun 2019 15:33:59 -0400 Subject: [PATCH] Also copy MAILTO from crontab --- extras/installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/installer.sh b/extras/installer.sh index b72be64..9545f16 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -312,6 +312,7 @@ configure_cron() { save_cronjob() { CONFIGTEMP=$(mktemp /tmp/plexupdate.XXX) + echo "$(grep "MAILTO=" /etc/crontab)" >> $CONFIGTEMP echo "$(grep "PATH=" /etc/crontab)" >> $CONFIGTEMP echo "#minute hour mday month wday who command" >> $CONFIGTEMP echo "$1" >> $CONFIGTEMP