gocron-server/scripts/send_notify.sh
2022-02-04 20:23:04 +01:00

3 lines
119 B
Bash
Executable File

#!/usr/bin/env bash
grpcurl --plaintext -d "{\"UnitName\": \"$1\"}" localhost:9092 gocron_server.Scheduler/RunJob | jq