Report this

What is the reason for this report?

How to run Django admin commands periodically?

Posted on June 7, 2021
sxv

By sxv

I have a website running flawlessly on the App Platform. But I really need to be able to execute some commands every day at certain hour (python manage.py …). It would be awesome to have something like cron jobs, for what I understand this is no available.

How can I achieve my goal?



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.

You can define a cron job for that. Read this article to know about making cron jobs - Article

Hello @sxv

Cron job is not supported in App Platform yet however, it’s in our roadmap. There is no ETA as of now. We had a similar discussion in our community link below where one of our engineering team has provided the workaround:

Community Discussion link

I encourage you to share your thoughts about this on our ideas page: https://ideas.digitalocean.com/

We’re constantly looking to improve all aspects of our service and welcome any other ideas or feedback you have! Sharing your thoughts there helps us to better prioritize working on the features that you feel need more attention.

Best, Dikshith

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.