Migrating From Dokku to Kamal: Scheduling Cron Jobs
26-Jan-2024 872
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 #Migrating #Dokku #Kamal: #Scheduling https://rubyonrails.ba/link/migrating-from-dokku-to-kamal-scheduling-cron-jobs