diff --git a/shepherd b/shepherd index 45ffd97..c314df9 100755 --- a/shepherd +++ b/shepherd @@ -150,6 +150,11 @@ update_services() { fi fi done + if [[ "$apprise_sidecar_url" != "" ]]; then + title="[Shepherd] Shepherd run completed on $hostname" + body="$(date) Shepherd run has been completed" + curl -X POST -H "Content-Type: application/json" --data "{\"title\": \"$title\", \"body\": \"$body\", \"type\": \"info\"}" "$apprise_sidecar_url" + fi } # retrieve registry password from docker secrets or environment, in this order