From 080fd365ed8511937bf5f2f625dd98bcbdb76c9d Mon Sep 17 00:00:00 2001 From: Lincoln Bryant Date: Fri, 16 Aug 2024 09:38:59 -0500 Subject: [PATCH] update sync script with verbosity --- scripts/sync_users_wrapper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sync_users_wrapper.sh b/scripts/sync_users_wrapper.sh index 2f04dc7..aa48240 100755 --- a/scripts/sync_users_wrapper.sh +++ b/scripts/sync_users_wrapper.sh @@ -1,4 +1,6 @@ #!/bin/bash -sleep $((RANDOM%300)) +TIME=$((RANDOM%300)) +echo "Sleeping for $TIME seconds" +sleep $TIME cd /usr/local/ciconnect source /usr/local/ciconnect/config && ./sync_users.sh -u root.atlas-af -g root.atlas-af -e https://api.ci-connect.net:18080 >> /var/log/provisioner.log 2>&1