Which is the best method for a recurring rails job in App platform?

I have a rails app with a job that run every 1 hour to extract data from one site. In a droplet I use and this create a cronjob but I do not know if I can use this in App platform. I searched in components (workers, job and services) but non of this have the ability to run scheduled (every 1 hour or other options). Also I readed the docs but nothing.

My question is how can I do this in App platform?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Did you find how to set your cronjobs? I am facing the same issue. I am using the whenever gem, but in the deploy of my RoR app on digitalocean, I did not find a way to set crontab, which I think is required to run this.

Use Clockwork on a worker component.