[inactive-gitlab-users] get-inactive writes JSON file to /tmp now



commit ce151cd0edd3651b77ff36051b78d7dd30cf7ce7
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Sep 6 16:01:35 2021 +0200

    get-inactive writes JSON file to /tmp now

 inactive-gitlab-users.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index d9104a8..2aa8b50 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -7,8 +7,8 @@ echo
 cd /usr/local/sysadmin-bin/gitlab
 python3 ./inactive-gitlab-users.py trust-groups >/dev/null
 python3 ./inactive-gitlab-users.py trust-2fa >/dev/null
-python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json
-python3 ./inactive-gitlab-users.py delete-from-json /tmp/inactive-gitlab-users.json >/dev/null
+python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE}
+python3 ./inactive-gitlab-users.py delete-from-json /tmp/inactive.json
 
 echo "Dumping json on pod's stdout"
 cat /tmp/inactive-gitlab-users.json


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]