prestonpeterson / CI_RAE

Bot that scrapes user comments and profiles on Reddit.com and performs various analyses on the resulting data.
1 stars 0 forks source link

Bot needs to clear inbox and restart itself after crash #9

Open gitgiant opened 8 years ago

gitgiant commented 8 years ago

If the bot crashes without a graceful shutdown, the buggy mention that caused the crash stays in the inbox of the bot. You can log in as the bot and mark the mention as read, but we need exception handling that will do that automatically, and restart the bot if needed so that it can stay online by itself and remain autonomous.

gitgiant commented 8 years ago

Fixed the clearing inbox, still needs to restart itself after crash

prestonpeterson commented 8 years ago

Is there a reliable way to restart it after a crash? We may just have to have excessive exception handling to prevent crashes