Skip to content

A Python wrapper to send a status report for a cronjob (or any command) to Slack

License

Notifications You must be signed in to change notification settings

tferreira/slackron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python wrapper to send a status report for a cronjob (or any command) to Slack

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages