Skip to content

Commit 0f8680a

Browse files
committed
Removed dependency on schedules for evaluating jobs w/o failure emails
1 parent bad254f commit 0f8680a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

sp_Blitz.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3253,11 +3253,6 @@ AS
32533253
'The job ' + [name]
32543254
+ ' has not been set up to notify an operator if it fails.' AS Details
32553255
FROM msdb.[dbo].[sysjobs] j
3256-
INNER JOIN ( SELECT DISTINCT
3257-
[job_id]
3258-
FROM [msdb].[dbo].[sysjobschedules]
3259-
WHERE next_run_date > 0
3260-
) s ON j.job_id = s.job_id
32613256
WHERE j.enabled = 1
32623257
AND j.notify_email_operator_id = 0
32633258
AND j.notify_netsend_operator_id = 0

0 commit comments

Comments
 (0)