feat: add documentation, alerts, cron setup and update dashboard
This commit is contained in:
1 parent
bd977da3a5
commit
b688760309
4 files changed
+57
No files matched your search
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Script to send alerts via Webhook
|
||||
# Usage: ./alert.sh "Your message"
|
||||
WEBHOOK_URL="https://discord.com/api/webhooks/your_webhook_id/your_webhook_token" # Replace with actual URL
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: ./alert.sh 'Message'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -H "Content-Type: application/json" -d "{\"content\": \"$1\"}" $WEBHOOK_URL
|
||||
Reference in new issue
Block a user