An extremely simple Python script that repeats another script, every given number of seconds.
In this example, the test/test.sh
script is chosen to loop, with a delay between loops of
3 seconds.
➜ python3 src/cli.py --delay 3 --script test/test.sh
The src/cli.py
file can be installed as the
clean-loop
command using pip
.
You can install it from GitHub:
➜ pip install git+https://github.com/MolassesLover/CleanLoop.git
Alternatively, from PyPi:
➜ pip install clean-loop
All files within this repository are licensed under the Apache v2.0 license or MIT license at your choice.