#!/bin/sh notify() { curl \ -X POST \ -H "Title: $0" \ -H "Priority: urgent" \ -H "Tags: warning" \ -d "$(hostname): $@" \ https://push.ixvd.net/infra-backups } notify "pruning old backups..."