This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

raven-sh is a client for Sentry which can be used as a wrapper for cron jobs

Project Description

This is a wrapper executing a command and sending its stdout/stderr to the Sentry server.

Useful to work with cron jobs. Unless misconfigured, the wrapper itself is quiet. It launches the program, captures its output, and if the program has been ended with non-zero exit code, builds a message and puts it to the remote server.

Warning

Don’t try to launch scripts producing a lot of data to stdout / stderr with this wrapper, as it stores everything in memory and thus can easily make your system swap.

Example of cron task:

SENTRY_DSN='http://...../'
*/30 * * * *  raven-sh -- bash -c 'echo hello world; exit 1'
Release History

Release History

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

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
raven-sh-0.4.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Aug 9, 2016

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