Skip to main content

Simple process management. Keep a process running in a screen session forever.

Project description

ScreenRun

Process management done simple. You can keep a process running forever just by adding a single cron job.

Install

pip install screenrun

Usage

> screenrun execute --name nap sleep 60
> screenrun list
nap
> screenrun kill --name nap
> screenrun persist --name nap sleep 60
> screenrun persist --name nap sleep 60

Add to cron

* * * * * screenrun cron sleep 60

Python

from screenrun import ScreenRun

screenrun = ScreenRun()

screenrun.execute('sleep 60')

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

screenrun-0.1.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

screenrun-0.1.0-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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