Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7198

Tweepy Bot Crashes After Duplicates

$
0
0

I have a question about running my Twitter bot 24/7, and I already have it uploaded to Heroku. The code works great.

However, the dynos will fall asleep after 30 minutes of non-use. This is great, however, my code is programming to tweet the same thing once a day.

In order to keep the dynos alive, the code has to be run every 30 minutes. The tweet, however, is the same thing once a day.

Is there a way to keep the Twitter code running when receiving a duplicate?


Viewing all articles
Browse latest Browse all 7198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>