diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-04 11:57:20 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-07-04 11:57:20 +0200 |
commit | eda4554eeca077f2357235414f6d59708d1b9944 (patch) | |
tree | 790eb5ca2826c9af4f31d46f342067759e8ab78c /install | |
parent | 7bd62e140e563b20eb3bd5843a9bca042212c9ec (diff) | |
download | Ishtar-eda4554eeca077f2357235414f6d59708d1b9944.tar.bz2 Ishtar-eda4554eeca077f2357235414f6d59708d1b9944.zip |
cron daily: manage pending update
Diffstat (limited to 'install')
-rw-r--r-- | install/ishtar-cron-daily | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install/ishtar-cron-daily b/install/ishtar-cron-daily index 5629a7071..c586b81a3 100644 --- a/install/ishtar-cron-daily +++ b/install/ishtar-cron-daily @@ -6,3 +6,8 @@ WWW_GROUP=www-data find $ISHTAR_PATH -type d -name "media" -exec chown -R $WWW_USER:$WWW_GROUP {} \; find $ISHTAR_PATH -type d -name "CACHE" -exec chown -R $WWW_USER:$WWW_GROUP {} \; + +for APP in `cat /etc/ishtar/instances`; do + cd $ISHTAR_PATH/$APP + python3 manage.py process_pending_update --quiet +done |