automatic wopi configuration

This commit is contained in:
notplants
2026-01-26 18:18:16 -05:00
parent a2d8ebb8e5
commit 2c7387523f
5 changed files with 30 additions and 12 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
while true; do
echo "Running WOPI job at $(date)"
# source env
. /abra-entrypoint.sh -e
# run python command
python manage.py trigger_wopi_configuration
echo "++ completed wopi trigger. now sleeping."
# wait before next run
sleep 1800 # 1800 seconds = 30 minutes
done