Skip to content

Commit 1118330

Browse files
authored
Merge pull request #2912 from MikeScalise/RemoveScheduleDependency
Removed dependency on schedules for evaluating jobs w/o failure emails
2 parents f70dcb3 + 0f8680a commit 1118330

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
@@ -3254,11 +3254,6 @@ AS
32543254
'The job ' + [name]
32553255
+ ' has not been set up to notify an operator if it fails.' AS Details
32563256
FROM msdb.[dbo].[sysjobs] j
3257-
INNER JOIN ( SELECT DISTINCT
3258-
[job_id]
3259-
FROM [msdb].[dbo].[sysjobschedules]
3260-
WHERE next_run_date > 0
3261-
) s ON j.job_id = s.job_id
32623257
WHERE j.enabled = 1
32633258
AND j.notify_email_operator_id = 0
32643259
AND j.notify_netsend_operator_id = 0

0 commit comments

Comments
 (0)