Skip to content

Instantly share code, notes, and snippets.

View AnthonySheetz's full-sized avatar

Anthony Sheetz AnthonySheetz

View GitHub Profile
@AnthonySheetz
AnthonySheetz / cronitor.sh
Last active October 21, 2019 10:25 — forked from erchn/cronitor.sh
Cronitor wrapper script for start/stop notifications, now with proper encoding of stderror and optional dumping of stdout
#!/bin/bash
#
# This script surrounds the command passed in with start and finish notifications
# to the cronitor monitoring application.
#
# === SETUP
#
# * Make sure the cronitor script is executable.
#
# chmod +x cronitor