MolassesLover / clean-loop

Just repeats a script every number of seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CleanLoop

Ko-Fi Patreon PyPi

An extremely simple Python script that repeats another script, every given number of seconds.

Usage

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

Installation

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

License

All files within this repository are licensed under the Apache v2.0 license or MIT license at your choice.

About

Just repeats a script every number of seconds

License:Other


Languages

Language:Python 92.5%Language:Shell 7.5%