Skip to content

saeedhosseini21/BashRetryCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Visits Badge GitHub license GitHub stars

BashRetryCommand

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.

How to use

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

About

Bash retry command

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages