Add PATH variable to cron file

This commit is contained in:
Max 2019-06-19 15:19:24 -04:00
commit 35fea18230
No known key found for this signature in database
GPG key ID: 0BDA73476CD8AB10

View file

@ -312,6 +312,7 @@ configure_cron() {
save_cronjob() {
CONFIGTEMP=$(mktemp /tmp/plexupdate.XXX)
echo "$(grep "PATH=" /etc/crontab)" >> $CONFIGTEMP
echo "#minute hour mday month wday who command" >> $CONFIGTEMP
echo "$1" >> $CONFIGTEMP