From 0239b0cab2dc71d0f20b48d578a435ad39f49554 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Tue, 26 Aug 2025 11:12:42 +0200 Subject: [PATCH] add flag to subject --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a23452d..d63d008 100644 --- a/main.go +++ b/main.go @@ -80,10 +80,10 @@ func sendNotification(result jobResult, notification notificationConfig) error { msg.Priority = 10 if result.isSuccess() { - title = "✅ [scron] " + result.job.Name + title = "✅ [scron][success] " + result.job.Name msg.Priority = -1 } else { - title = "❌ [scron] " + result.job.Name + title = "❌ [scron][error] " + result.job.Name } msg.Message = result.outputString