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 hashes)
Built Distribution
Close
Hashes for raven_sh-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5fa06130896f9c4d9aa9b71016943c655bc3d884b55c40b2e1d3b7c636535fc |
|
MD5 | ff04a86a3e9fa0cb45ea814def9e0ae3 |
|
BLAKE2b-256 | 24b310ee386ddbc3f9c06116b233fe0ec4b7a9196e5fa8ffddeb20d59cf929ab |