You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When xkcd skips a day or is late our bot reposts the last comic, leading to duplication and groaning.
Fix by storing the most recently published comic number in the postgres DB and querying it before posting. If the number exists, don't post that day. This should also help us be more up to date as we can check more regularly against the stored number than we have based solely on cron.
The text was updated successfully, but these errors were encountered:
When xkcd skips a day or is late our bot reposts the last comic, leading to duplication and groaning.
Fix by storing the most recently published comic number in the postgres DB and querying it before posting. If the number exists, don't post that day. This should also help us be more up to date as we can check more regularly against the stored number than we have based solely on cron.
The text was updated successfully, but these errors were encountered: