This file contains hidden or 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
"""check_vaccine.py | |
Checks CVS for vaccine appointment availability and sends text messages if they show up. | |
Requires paid account on Twilio. You can fund $5 and it'll be plenty, a SMS is less than 1 cent. | |
Assuming you use a *nix system with Python 3 and want to deploy via crontab, you can do something like this: | |
1. `which python` Record the output. (It's nice to give crontab the full path of your python binary.) | |
2. `export VISUAL=vim` (For `crontab -e` to use vim; my personal preference.) | |
3. `crontab -e` to create a new line in your crontab. Next line is an example: |