Skip to content

valency/forever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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