chiark / gitweb /
Parallelise
[post-pizza-notify.git] / via-sms
1 #!/bin/sh
2 #
3 # recipient format:
4 #    sms TELEPHONENUMBER COMMENT...
5 # one per line
6
7 set -e
8 msg="$1"
9 rcpt="$2"
10 with-lock-ex -w .sms.lock \
11 gammu sendsms TEXT "$rcpt" -text "$msg"