Get the latest tech news
Replacing cron jobs with a centralized task scheduler
A brief description of our task scheduling system
The consumer reads the payload discriminated union and calls the corresponding function responsible for executing the task. If for some reason the script does not run for some amount of time due to an outage or error, the scheduled tasks will still exist in the database. But I haven’t seen too many people talking about this problem, so hopefully this was helpful for anyone that’s currently stuck maintaining a sea of scattered cron jobs.
Or read this on Hacker News