This a simple bash script for retrying a command with given number and period. This script can be used for executing commands which interact with external services Since these systems might face communication problems.
The syntaxt for running the commnad is like this : try -i INTERVAL -n NUMBER COMMAND which INTERVAL is the period of retries and Number is the maximum number of retrries.
@dwsclass dws-dev-002-bash