From c64fd6f05a767282972d9e51c3129993a4b90e1f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Jun 2019 14:50:12 +0200 Subject: Better management of cascade updates --- conf/ishtar-pending-update-cron | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 conf/ishtar-pending-update-cron (limited to 'conf') diff --git a/conf/ishtar-pending-update-cron b/conf/ishtar-pending-update-cron new file mode 100755 index 000000000..269d41859 --- /dev/null +++ b/conf/ishtar-pending-update-cron @@ -0,0 +1,10 @@ +#!/bin/sh + +ISHTAR_PATH="/srv/ishtar" +APPS="my_app my_second_app" + +for APP in $APPS; do + cd $ISHTAR_PATH/$APP + python3 manage.py process_pending_update --quiet +done + -- cgit v1.2.3