Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
[bash] "keep trying" command, even if exits with error, for at least 10 times
A script that tries to run a given arbitrary command N times, or until it exits with success. The commented parts are aborted attempts to make it figure whether the first parameter is a number instead of a command, and that would be used as the maximum number of attempts. Something went wrong, sometime I'll try to figure it out.
Total Comments 3
Posted 08-09-2014 at 03:08 AM by goumba
Updated 08-12-2014 at 10:57 PM by goumba
Posted 08-18-2014 at 02:09 PM by the dsc
Posted 04-03-2015 at 10:17 PM by the dsc