1) Compliments of JSOP
2) You don't want to do that with a website. The web application is not designed to work off timers and such. It is a stateless Request/Response system. In order to do something from a server on a timed interval, you need to use one of two processes:
a) A console application that is scheduled using Windows Scheduler.
b) A windows service application which runs on an internal timer.
NOTE: You will still need a web front end for the user to configure their settings.