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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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