Skip to main content

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

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)

Uploaded Source

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

Hashes for forever-0.8.26.tar.gz
Algorithm Hash digest
SHA256 f6f92f15daca4a5372ddc125bdd8f84641e081aeb40a277955706dc37a967dd1
MD5 d805b8271f3bda993830566258d1cba1
BLAKE2b-256 29425679dac2afc908fa9d955db3909fea008cdb5af71d00ef6a8bed0b015df3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.26 This release

1 file

0.8.8

1 file

0.8.7

1 file

0.4.5

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page