↓ Skip to main content

Ntfy

ntfy notifications from unRAID using curl

·1 min
Send notifications from an unRAID server to ntfy using curl. The example below notifies the result of a Docker image prune: #!/bin/bash OUTPUT=$(docker image prune -af | tail -1) topicurl=https://ntfy.example.com/topic curl --insecure \ -d "$OUTPUT" \ -H "Title: Dangling images cleaned on $(hostname)" \ $topicurl