Skip to content

Commit

Permalink
update sync script with verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Bryant committed Aug 16, 2024
1 parent ce39fc9 commit 080fd36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/sync_users_wrapper.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 080fd36

Please sign in to comment.