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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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!
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:
https://docs.digitalocean.com/developer-center/how-to-setup-a-job-scheduler-on-digitalocean-app-platform/
It essentially spins up an additional container where you could define your scheduled
curl
requests in.- Bobby.