Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
*/5 * * * * (cd ~/Documents/foo && openaps do-everything) 2>&1 | logger -t openaps-loop

This comment has been minimized.

Copy link

@channemann channemann commented Sep 28, 2015

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/ > /home/pi/bin/mylog.log 2>&1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.