Óscar de Arriba
Jul 10, 2017 · 1 min read

I thought to use time-based messages to a GenServer (you can schedule the send of a message to a process), but that is only a good solution if you want to run a task each X minutes (or seconds, days….).

Otherwise, if you want to schedule the task at a determined time (like with a Crontab), the best option nowadays I think it’s quantum, which takes care of all the logic needed.

Hope it helps!

    Óscar de Arriba

    Written by

    Software developer that often writes @ codingcode.io