Skip to main content

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
forever-0.8.26.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page