Further improve 2000/schneiderwent/try.sh

Now allows one to override how long to sleep and how many iterations to
go through. It is an error if non positive values are specified.
This commit is contained in:
Cody Boone Ferguson committed 2024-02-05 05:06:12 -08:00
1 parent 1c81a68aa9
commit 71299bf8a7
2 files changed
+45 -9

No files matched your search

+9
View File
@@ -28,6 +28,15 @@ paint dry :-) ) you might also try:
./try.sh
```
Alternatively, you can check on it later on, to see all the entry does. Or if
you wish to make it run faster, you can override how long it sleeps per
iterations and how many iterations it runs. For instance to make it sleep only
30 seconds and run only twice:
```sh
SLEEP=30 ITERATIONS=2 ./try.sh
```
## Judges' remarks: