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.

Source Distribution

forever-0.8.26.tar.gz (2.3 kB view hashes)

Uploaded Source

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