How to trigger when certain numerical threshold is reached #2950
Unanswered
Lord0fBytes
asked this question in
Q&A
Replies: 1 comment
-
I looks like it might be able to work if I can get the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am monitoring my local news website for school closings. There are always <10 closing on the site, but what I am looking for is a way to trigger the alert when the decimal changes to say 100 or more.
Here is what I have so far:
I am extracting text on the page using
/.+?\d+ School Closings.+?/
I get the expected results:
8 School Closings
, but I am stumped where to put in boolean logic to have it trigger the alert when the 'd' is greater than 50.It also lists the schools with a specific tag that I could count, but again I am not sure how to count the rows and trigger after a certain amount.
Beta Was this translation helpful? Give feedback.
All reactions