Click here to Skip to main content
15,885,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey,

There is a webpage with registered user counter.
I want to get an alert when that counter gets to 1000.

Does someone know of a website/browser extension that enables sms/email notification when a specific field in a public website is equal a certain value?

Maybe someone know how to write a small script that does that?

I'm sorry for the rude request.
Thanks in advance
Posted

1 solution

You can use C# (or VB.net) to load up the page using the WebClient class. You can then search the string for "1000" and "1,000". Then you can send out an email using the SmtpClient class. Unless somebody knows of an existing tool that does this, you'll have to build it yourself.
 
Share this answer
 
Comments
Dalek Dave 7-Mar-11 17:24pm    
Good Call
elad2109 7-Mar-11 17:27pm    
I think I can write c# program that does that. But few questions:
1) That means my program needs to be on all the time. I was thinking of an offline service that will monitor the website also when my PC is off.

2) Is there a way of achieving that with scripts, or will it be too complicated?
10x
AspDotNetDev 7-Mar-11 17:34pm    
You will obviously need a running computer to run a program, but it doesn't have to be yours. You can use most any computer to run your program. You could use your work computer. If you make an ASP.Net web application, you can upload it to your website (assuming you have one) and it can run there. Though, running it from a website comes with issues (e.g., ASP.Net does not like to keep your program running if no requests are made for a while, but there are articles for how to get around that).
elad2109 7-Mar-11 17:52pm    
10x, what c# classes should I use in order to acquire a certain string from a given url ? I have no clue what classes and namespace could help me out.
elad2109 8-Mar-11 6:12am    
I have wrote the c# code I needed.
Does someone know of a free server where I can host my c# code behind to work all time? (it's just one small file).

10x

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900