I have python command which is supposed to be exec-ed every 10min.
I am familiar with container/service for server.
However in this case, I want to exec, python
manage.py every10mincommand in every 10 min, its something like crond.
What is the best practice for this purpose??
My service is like this below.
version: '3' services: python: image: registry:5000/myapp/djago:latest #django environment made by python image. #command: python manage.py runserver 0.0.0.0:8000 ## If I don't use as server, service stops... #command: python manage.py every10mincommand ##want to exec this every 10 min deploy: replicas: 1 placement: constraints: [node.role != manager]