By inyerade
I have a rails app with a job that run every 1 hour to extract data from one site. In a droplet I use https://github.com/javan/whenever 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?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.