Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
Wrong errors were sent to wrong path
  • Loading branch information
archetipico committed Jul 22, 2021
1 parent 0a91ea8 commit d28b410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ROOT=${SRC::-3}
date "+%D %T:%N" >> $ROOT.log

# Add line to crontab
JOB="@reboot source ${ROOT}update.sh $ROOT 2>>$ROOT.log"
JOB="@reboot source ${ROOT}update.sh $ROOT"
( sudo crontab -u $USER -l; echo $JOB ) | sudo crontab -u $USER - 2>/dev/null

# Find the content and print it line by line
Expand Down

0 comments on commit d28b410

Please sign in to comment.