Skip to main content

A Python wrapper to notify about cronjob execution to Slack

Project description

slackron

slackron is a Python wrapper to notify about cronjob execution to Slack.

Disclaimer

This software is currently alpha, and subject to change.

Installation

slackron is available on pypi.org.

Configuration

slackron will look for the following configuration file on your home directory: ~/.slackron.yml

Example:

    webhook_url: https://hooks.slack.com/services/T00/B00/XXXXXXXXXXXX
    channel: "#cron"
    username: Slackron
    emoji: robot

Usage

*/1 * * * * /usr/local/bin/slackron -- wget -Ss https://example.com

Messages example

mattermost notifications template

Support

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

slackron-0.0.9.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

slackron-0.0.9-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file slackron-0.0.9.tar.gz.

File metadata

  • Download URL: slackron-0.0.9.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for slackron-0.0.9.tar.gz
Algorithm Hash digest
SHA256 729e4878da876813583d8370530735d042905bf5c162a6851fa4270e24b4c386
MD5 16573807c0e3e6dece0e918942fa8bef
BLAKE2b-256 b58ed31bc484dc38eeb53d9e6a6ef4c2f4e6ef845ea4d4a083a1f0606562e01e

See more details on using hashes here.

File details

Details for the file slackron-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: slackron-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for slackron-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 69d693f817068d43c6527540a23ccd58fce777cf7bdd615163c6703cea21f0b3
MD5 dfef5312bc77326c37534cb24bc565e7
BLAKE2b-256 685c23fb85f17a3ac3dd2f043f9cf0375dd92c6446aa4ca0d3ca6091d52ef660

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