Recurring Tasks in Elixir
The problem: I want to email myself a weekly summary of Todo items I've completed. We know how to use cron or a variation of Ruby's Resque/Sidekiq scheduled jobs, but how would we approach this in Elixir?
We'll walk through a 40-line solution using a GenServer that will leave you wondering why we ever put up with installing an entire background job system for such a simple task.
Desmond Bowe
June 15, 2016
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.