Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

It would be nice with a build in option to trigger notifications based on failed Agent Jobs.

We are currently using this custom SQL Query in 'msdb':

SELECT STUFF((SELECT N', ' + name FROM (SELECT name FROM dbo.sysjobs WHERE (SELECT TOP 1 run_status FROM dbo.sysjobhistory WHERE (step_id = 0) AND (job_id = sysjobs.job_id) ORDER BY run_date DESC, run_time DESC) = 0 AND (enabled = 1)) AS [n1] FOR XML PATH(''),TYPE).value('text()[1]','nvarchar(max)'),1,2,N'') AS [Failed]

// Martin.

  • 8 months later...
  • Author

Any status?

The following SQL script shows all failed (and enabled) agent jobs:

SELECT        name
FROM            msdb.dbo.sysjobs
WHERE        ((SELECT        TOP (1) run_status
                            FROM            dbo.sysjobhistory
                            WHERE        (step_id = 0) AND (job_id = dbo.sysjobs.job_id)
                            ORDER BY run_date DESC, run_time DESC) = 0) AND (enabled = 1)

 

  • 1 year later...
  • 3 weeks later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.