I want to create a cronjob to do some operations in database. I tried both function on app platform and standard alone function. However, there are issues with both ways:
Does anyone have a solution for this ? thanks
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!
Hey @senwang20240530,
Indeed this is all true as of the time being.
It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!
https://ideas.digitalocean.com/app-platform/p/add-support-to-configure-cron-job
What you could do in the meantime, is to check out this article here on How To Setup a Job Scheduler on the DigitalOcean App Platform:
It essentially spins up an additional container where you could define your scheduled curl requests in.

- Bobby.
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.