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)
No Comments