- Create a python program called
secrets.pyin the same working directory as the code - Create two variables
EMAIL_USERNAMEandEMAIL_PASSWORD - Add your email login e.g.
EMAIL_USERNAME = youremail@gmail.com
To edit the cron job type: crontab -e
A useful tool to set your cron schedule is to use crontab guru
The cron schedule I use is 0 0 * * 2-6