To start, deploy your Django project to a remote server. Then, connect to the server by SSH.
These steps are written with the assumption that you are using a virtualenv, but a similar cron job can be created for a Docker project, and it can even run directly within the app container. Code files are provided with the alternate syntax, and the steps are otherwise largely the same. A connection can be made to the app container from your Docker project root, with the following command:
myproject_docker/$ docker-compose exec app /bin/bash
myproject_docker/$ docker-compose exec app /bin/bash