From ed3e54124dae6c033808c817a26477a4bdb15ef9 Mon Sep 17 00:00:00 2001 From: Timon Engelke Date: Thu, 7 Sep 2023 15:39:54 +0200 Subject: [PATCH] mafiastarlite: update commands for cron job --- MafiAStarLite/.dockerignore | 1 + MafiAStarLite/uwsgi-mafiastar.ini | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 MafiAStarLite/.dockerignore diff --git a/MafiAStarLite/.dockerignore b/MafiAStarLite/.dockerignore new file mode 100644 index 0000000..54afa44 --- /dev/null +++ b/MafiAStarLite/.dockerignore @@ -0,0 +1 @@ +MafiAStarLite/logs diff --git a/MafiAStarLite/uwsgi-mafiastar.ini b/MafiAStarLite/uwsgi-mafiastar.ini index 0db5abe..438fa2e 100644 --- a/MafiAStarLite/uwsgi-mafiastar.ini +++ b/MafiAStarLite/uwsgi-mafiastar.ini @@ -33,4 +33,5 @@ disable-logging = true enable-threads = true ; cron job -cron2 = minute=30,hour=2,unique=1 python3 /app/backend/manage.py updatedb +cron2 = minute=30,hour=2,unique=1 python3 /app/backend/manage.py updatedb --directory "/app/songs/Sortierte Songs" +cron2 = minute=30,hour=3,unique=1 python3 /app/backend/manage.py updatedb --directory "/app/songs/Neue Songs" --nodelete