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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file clean_loop-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: clean_loop-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for clean_loop-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1a256177730e7790cd6913bc8e60f51e15769390e5048c2cb800cad1046b67
MD5 2f6a66246d7f1b781de18a87289c48aa
BLAKE2b-256 047eb01c074699c737d673b4225211df641a83fd5cf1fbc819276f7a924484bb

See more details on using hashes here.

Supported by

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