logo
  • Start here
  • Episodes
  • Articles
  • Log in
  • Sign up

Scheduling recurring jobs with a GenServer

Topics:
OTP
GenServer

Using a GenServer to schedule work from right inside your app is easier and faster than relying on an external tool like cron jobs.

This 6 minute video contains clips from two projects where we've implemented this—a simple cache deleting task for this site, and a logging task that runs at the same time every day on StatWatch.me.

(Source code available for premium members)

Share

Request a free email course
Back to index

No Comments

Log in to leave a comment
Alchemist Camp 2017-2020
Hosted on Digital Ocean
Terms and Conditions