Simple repo to send me an alert if our family's numbers hit.
- setup icloud+ email address to use
- get app specific passwords
- create a
.env
file withAPP_SPECIFIC
value from above and place it on the rpi - create email receiver config file following template
email-template.json
- set up the hosting raspberry pi below
sudo apt-get install mailutils
sudo apt-get install postfix
(setup for local only)./pi.sh
to push the binary up20 16 * * * /home/pi/.local/bin/lotto-alert today -send /home/pi/.local/bin/.env
- to debug crontab syslog below
tail -fn 0 /var/log/syslog