News Score: Score the News, Sort the News, Rewrite the Headlines

Replacing cron jobs with a centralized task scheduler

At Heartbeat, we have a lot of different tasks that need to run at a particular time. Users can create draft posts or events that get published at a certain time. Event reminders need to be sent at a certain number of hours before an event. Automated workflows can be set up that send emails or direct messages after a delay. For the longest time, all of these tasks were managed by a variety of cron scripts. We had createScheduledPosts.ts that would run every 15 minutes, scan our table of schedule...

Read more at mayhul.com

© News Score  score the news, sort the news, rewrite the headlines