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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.