Skip to content

Instantly share code, notes, and snippets.

@urcadox
Created April 22, 2013 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urcadox/5438814 to your computer and use it in GitHub Desktop.
Save urcadox/5438814 to your computer and use it in GitHub Desktop.
Alarm script for PilotSSH
#!/bin/sh
tmux send -t alarm alarm SPACE $1 ENTER
echo "{ \"version\": 1, \"title\": \"Alarm\", \"type\": \"status\", \"status\": \"ok\", \"message\": \"Good night :)\"}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment