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.5.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

raven_sh-0.5.1-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file raven-sh-0.5.1.tar.gz.

File metadata

  • Download URL: raven-sh-0.5.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for raven-sh-0.5.1.tar.gz
Algorithm Hash digest
SHA256 c875751f7795107bfd8c19c277ccbd4b11f24b8e0ce4c02df4898304760e1228
MD5 404f3bd10cb101b781700ccb2321b255
BLAKE2b-256 7601b7b0c5bdddf14bcc48699506485538677d5c1136031315f40bfa9d564166

See more details on using hashes here.

File details

Details for the file raven_sh-0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: raven_sh-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for raven_sh-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5fa06130896f9c4d9aa9b71016943c655bc3d884b55c40b2e1d3b7c636535fc
MD5 ff04a86a3e9fa0cb45ea814def9e0ae3
BLAKE2b-256 24b310ee386ddbc3f9c06116b233fe0ec4b7a9196e5fa8ffddeb20d59cf929ab

See more details on using hashes here.

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