cfc-schedules-tweet
Send tweets ahead of Chelsea FC's match!
Feature(s)
- Send a tweet ahead of Chelsea FC's match:
- one day before the match
- one hour before the match
Example of the tweet
Day-1
Hour-1 reminder
High-level flow
How to run locally
- Cron for fetching the matches
npm run match-fetcher
- Cron for reading the matches from redis
npm run match-reader
- Worker to subscribe to redis
npm run sub
Cron scheduling
match-fetcher
-> runs every hour
match-reader
-> runs every 10 minutes