All threads / Sending Alerts Based on Threshold

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Sending Alerts Based on Threshold

Paulo Avelino asked in Rails

I am building an app wherein user can create an alert based on current value of average or sum of table column. For example if SUM of column A is < 100 a notification should be sent to receipients.
User can add query and condition dynamically. Is there any existing sample or gem that constantly checks for database value and sends notification for alert . I also what it to be snoozable so it wont spam notification if value does not move for a day or two

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,344+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.