8 lines
217 B
Bash
8 lines
217 B
Bash
#!/bin/bash
|
|
|
|
ALERTSENDTO=$1
|
|
ALERTSUBJECT=$2
|
|
ALERTMESSAGE=$3
|
|
|
|
curl -X POST "http://s-backup.gsb.adm:8008/message?token=$ALERTSENDTO" -F "title=$ALERTSUBJECT" -F "message=$ALERTMESSAGE" -F "priority=5" > /dev/null 2>&1
|