forever

Forever: auto restart any script if it stops printing.


Keywords
forever, logging, auto-restart
License
Other
Install
pip install forever==0.8.26

Documentation

Forever

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