From 9ab9f343a0a5b6ba9f56e1cbd335d2fa6ddfe719 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 27 Apr 2021 08:44:13 +0200 Subject: [PATCH] Update django-launcher.pro.sh --- django-launcher.pro.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/django-launcher.pro.sh b/django-launcher.pro.sh index 2623dff..d499601 100644 --- a/django-launcher.pro.sh +++ b/django-launcher.pro.sh @@ -9,6 +9,10 @@ echo "Apply database migrations" python3 manage.py makemigrations python3 manage.py migrate +# Apply crons +python3 manage.py crontab remove +python3 manage.py crontab add + # Start server echo "Starting server" uvicorn --host 0.0.0.0 --port 8000 chapps.asgi:application