Migrating From Dokku to Kamal: Scheduling Cron Jobs

This is the third post of the series "Migrating From Dokku to Kamal" and today I am gonna show you how I've set cron with Kamal, click here to read the second post of the series in case you've missed it.I needed a way run periodic tasks on Kamal to replace Dokku's scheduled cron tasks.Cron seemed the way to go according to this pull request on the Kamal repo, but making it work turned out to be not so simple as that.The idea is to have a new container on the worker server responsible for scheduling jobs defined on a crontab file.
Migrating From Dokku to Kamal: Scheduling Cron Jobs #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/migrating-from-dokku-to-kamal-scheduling-cron-jobs

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles