kris-classes / restart

2022 Semester 2 Course Topics
10 stars 7 forks source link

Implement an exponential backoff retry algorithm #25

Open krp opened 1 year ago

krp commented 1 year ago

Implement a script that retries a given command periodically (less each time) if something fails. Your script should take a command to run (e.g. 'ping') using Python's sys module and sys.argv[1]. Ask if you're unsure what this means.