Skip to content

Instantly share code, notes, and snippets.

View shaneharter's full-sized avatar

Shane Harter shaneharter

View GitHub Profile
@berkayunal
berkayunal / cronitor.sh
Created April 12, 2017 12:51 — forked from AnthonySheetz/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