Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Detect long-running processes and notify you when they're done.

Project Description
*Detect long-running processes and notify you when they're done.*

Using ``longtroll``

``longtroll`` pretty much does what it says on the box. In order to start
detecting long-running processes, run `` bind`` in your shell. From
then on, when a long-running process in that shell finishes, your notification
command will be called.

Before you start using ``longtroll``, you need to create a configuration file.
A sample configuration file can be found in the repository as
``longtrollrc-sample``. Copy this file to ``~/.longtrollrc``, or create your own.
The configuration file takes two options: ``seconds`` and ``notify``, as

seconds 10
notify echo <cmd> (pid <pid>) completed | wall

``seconds`` is the number of seconds that a process has to live before it is
considered "long-running". ``notify`` is a command that will be run when your
process completes. The tokens ``<cmd>`` and ``<pid>`` will automatically be replaced
by the command and the PID of the process that completed.


* Add a `` unbind`` command

* Allow configuration of the poll time

* Some kind of notification method for when a long-running process is detected
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
longtroll-1.0.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Aug 1, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting