Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
try-hard(1)		    General Commands Manual		   try-hard(1)

NAME
       try-hard	-- retry a command multiple times in case of failure

SYNOPSIS
       try-hard	 max_trials  delay  [-q	| --quiet] [-v | --verbose] -- command
		...

DESCRIPTION
       try-hard	tries to run a command up to a given number of trials. In case
       of failure, a given delay time is waited	before the next	trial.

ARGUMENTS
       The following options are available:

       -q | --quiet
	       Quiet mode: no output is	made.

       -v | --verbose
	       Verbose mode: print selected delay and wake-up.

EXAMPLES
       try-hard	     10	     60	      --verbose	      --       git	 clone
	       https://dreibh@github.com/dreibh/rserpooldemo.git

       try-hard	3 300 -q -- git	clone https://git.freebsd.org/ports.git

       try-hard	      3	      60      --      wget	-O	example.tar.gz
	       https://www.example.net/example.tar.gz

       try-hard	100 1 -v -- false

try-hard		       December	13, 2024		   try-hard(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=try-hard&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help