Skip to content

Instantly share code, notes, and snippets.

View daliu's full-sized avatar

Dave Liu daliu

View GitHub Profile
@daliu
daliu / check_vaccine.py
Created April 14, 2021 19:29 — forked from samliu/check_vaccine.py
Find CVS appointments for COVID-19 vaccine, and get them texted to your phone.
"""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: