Skip to main content

Repeat a script every given number of seconds

Project description

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

clean_loop-0.0.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page