MichaelCurrin / python-twitter-guide

Code snippets and links to docs around using the Twitter API and Tweepy 🐍 🐦
https://michaelcurrin.github.io/python-twitter-guide/
MIT License
4 stars 8 forks source link

Add cron #35

Open MichaelCurrin opened 4 years ago

MichaelCurrin commented 4 years ago

Assuming you're using sleep with the for loop. Next, look into using a scheduled job which runs say hourly. So even if your machine restarts or one of them many searches times out and has a fatal error, your bot will keep working.