Reorder ntfy parallel execution and wait after gmail and telegram notifications.

This commit is contained in:
2025-12-29 16:36:16 +07:00
parent b458564344
commit b87291aa21

View File

@@ -74,18 +74,18 @@ send_telegram() {
}
# Execute in parallel
send_ntfy &
PID_NTFY=$!
send_gmail &
PID_GMAIL=$!
send_telegram &
PID_TG=$!
send_ntfy &
PID_NTFY=$!
# Wait for completion
wait $PID_NTFY
wait $PID_GMAIL
wait $PID_TG
wait $PID_NTFY
echo "All notifications processed."