My application has scheduled tasks that need to be run every 1 minute, 15 minutes, 1 hour, etc etc.
Jobs seem like a perfect component to do this in App Platform, but I can’t set them to run automatically on a set schedule.
I’m pretty sure I can hack around this by using a worker component that runs an infinite loop, but this seems incredibly wasteful. My scheduled tasks only take a few seconds to run, but I will be charged for 24/7 usage if I run them via a worker.
Is there a better way to achieve this? And is DO working on letting us run job components on a schedule?
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!
Hello @cmwhite92
We understand that the importance and working aggressively to get this feature on our App Platform ASAP. Unfortunately, we don’t support cron jobs (or scheduled jobs) in App Platform at this time. It’s in our roadmap and our engineering team is working on it. However, we don’t have any ETA as of now. You can keep track of the latest features by visiting the link below: https://www.digitalocean.com/docs/release-notes/app-platform/
There is no better workaround than using the worker component at this time. I understand the increase in pricing while using this workaround.
Best, Dikshith
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.