mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -07:00
Add PATH variable to cron file
This commit is contained in:
parent
508e7dd184
commit
35fea18230
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue