#!/bin/bash # Simple bash script to run `notify.sh DBdone the database update is done 🤷` # which will be displayed as # title: DBdone # message: the database update is done 🤷 # # note: replace my_login with your real auth title=$1 shift # easier than doing "count the..." auth="my_login" # CHANGE ME! curl -X POST "https://sn.30cm.org/v1/push" -H 'Content-Type: application/json' -d '{"auth":"'"$auth"'","message":"'"$*"'", "title":"'"$title"'"}'