I'm trying to figure out what the best way to actually invoke one of these on my pod. ie: For Django-Background-Tasks, you need to run python manage.py process_tasks
How do I run this on my Django pod automatically, without having to ssh into my pod and just run it. I've been trying to use a Post Lifecycle Hook, but maybe I'm just doing it wrong.
Any help would be appreciated.
Thanks!
P.S I'm currently working on a basic example using the openshift 3 django-ex github repo. (https://github.com/sclorg/django-ex)