From b87291aa21aead172bfe2167da822e865c5f25f3 Mon Sep 17 00:00:00 2001 From: Tien Ngo Date: Mon, 29 Dec 2025 16:36:16 +0700 Subject: [PATCH] Reorder `ntfy` parallel execution and wait after `gmail` and `telegram` notifications. --- notify.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notify.sh b/notify.sh index 728b42e..de64937 100644 --- a/notify.sh +++ b/notify.sh @@ -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." \ No newline at end of file