A Python script to send a Quote Of The Day message/sms to your phone using Twilio
- Create a twilio accounct by visiting Twilio
With a Free/Trial account youn only get to send sms/message to verified number
-
Follow instructions and get verified number
-
Select python as your language
- Get Credentials and Your Phone Numbers
- GO to Twilio Console
- Get Account Sid and Auth Token
- Get your twilio number and verified number
#Cloning
-
Clone this repository to your desktop
-
Subsitute your credentials in credentials.py
-
Install Twilio
pip install twilio
- Run
send_sms.py
You'll get an sms on your verified number
Automate message Using CRON
- Go to terminal
Type
sudo crontab -e
Add
00 10 * * * python3 fullpathto/send_sms.py
to the cron list
- Save
- Exit