Forever: auto restart any script if it stops printing.
Project description
Auto restart any script if it stops printing.
Install
pip install forever
Usage
python -m forever.run [OPTIONS] SCRIPT [SCRIPT_ARGS]
Options:
- -h, --help
show help message and exit
- -t TIMEOUT, --timeout TIMEOUT
timeout in seconds
- -i INTERVAL, --interval INTERVAL
checking frequency in seconds
Examples
python -m forever.run -t 3 -i 3 python -u -m forever.example
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
forever-0.8.26.tar.gz
(2.3 kB
view details)
File details
Details for the file forever-0.8.26.tar.gz
.
File metadata
- Download URL: forever-0.8.26.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6f92f15daca4a5372ddc125bdd8f84641e081aeb40a277955706dc37a967dd1 |
|
MD5 | d805b8271f3bda993830566258d1cba1 |
|
BLAKE2b-256 | 29425679dac2afc908fa9d955db3909fea008cdb5af71d00ef6a8bed0b015df3 |