diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-28 14:50:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-06-28 14:50:12 +0200 |
commit | c64fd6f05a767282972d9e51c3129993a4b90e1f (patch) | |
tree | 2f2f39dfb5c185d8e8857b2f87bbeff6065bb321 /conf | |
parent | 64da49c224d9c8b8271f81bfcc1328d5cc65f5d2 (diff) | |
download | Ishtar-c64fd6f05a767282972d9e51c3129993a4b90e1f.tar.bz2 Ishtar-c64fd6f05a767282972d9e51c3129993a4b90e1f.zip |
Better management of cascade updates
Diffstat (limited to 'conf')
-rwxr-xr-x | conf/ishtar-pending-update-cron | 10 |
1 files changed, 10 insertions, 0 deletions
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 + |