A primary illustration of the problem here is that we need to remove the need for this ugly crontab job:
*/5 * * * * . $HOME/.bashrc; cd /home/chris/projects/purify/python && . ./source-venv.sh && for uid in 0xF100943CC6E3566C 0xF100244CABED1504; do for dev in pairing sensor; do python src/analyze-sync.py --device-type ${dev} --days-back 1 --hub-uid $uid; python src/transfer-data.py --device-type ${dev}; done; done > /tmp/sync_purify1.log 2>&1
For example:
[ ] provide a way for Christi to manage which uid's are processed this way
[ ] send notifications on failures
[ ] look for way to simply / upgrade / replace work done by analyze-sync.py and analyze-sync.py scripts - [gg-prlx]/src/xfer.py was a start at this effort.
A primary illustration of the problem here is that we need to remove the need for this ugly crontab job:
For example: