diff --git a/backend/init/hook/hook.go b/backend/init/hook/hook.go index 85eca1014da6..1ddbb8f10dc3 100644 --- a/backend/init/hook/hook.go +++ b/backend/init/hook/hook.go @@ -227,6 +227,9 @@ func initDir() { } func handleCronJobAlert(cronjob *model.Cronjob) { + if cronjob.Type == "snapshot" { + return + } pushAlert := dto.PushAlert{ TaskName: cronjob.Name, AlertType: cronjob.Type,