Skip to main content

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.

Example of cron task:

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

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

raven-sh-0.1.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page