Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
canvas-demo-techex17/attribute-slammer/attributeSlammer/attribute_slam.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
22 lines (17 sloc)
424 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run the attribute slammer forever and ever running every 10 seconds | |
cd /opt/attributeSlammer/ | |
touch slammer.log | |
tail -f slammer.log & | |
# wait for grouper ws to be available...typically only during first run while | |
# grouper is still boot strapping | |
until nc -vz tier-demo-grouper 8080 | |
do | |
echo "Grouper WS is unavailable - sleeping" | |
sleep 5 | |
done | |
while true | |
do | |
perl attribute_slam.pl | |
sleep 10 | |
done |