Question

How to run Django admin commands periodically?

Posted June 7, 2021 204 views
DjangoDigitalOcean App Platform

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?

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.

×
Submit an Answer
2 answers

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