This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL=/bin/bash | |
PATH=/home/bewest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games | |
*/5 * * * * (cd ~/Documents/foo && openaps do-everything) 2>&1 | logger -t openaps-loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI, I found that my dexcom receiver was getting its new readings slightly after the 5-minute mark (as determined by the RPi system clock), so I put an offset in my crontab line. It still runs every five minutes, just at the 2 and 7 mark instead of 0 and 5:
2-59/5 * * * * /home/pi/bin/every-five.sh > /home/pi/bin/mylog.log 2>&1