Sahil is correct, and any or all of his suggestions are the best ones, but
you could set a timer in your web application using System.Timers and check
the date on the Elapsed event.
The drawback is that if the web application is not running, the event will
not fire. If your web application is accessed regularly, this might work for
you. If your web application is seldom or intermittently used, you can't be
sure this will happen in a timely fashion.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"Sahil Malik [MVP]" wrote:
You can setup a job with any scheduler like service.
This could be the scheduler built in windows, your own written application,
or for email - even the database.
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------
"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:eL**************@TK2MSFTNGP09.phx.gbl...I have a web application.
How can I let my program do something (for example mail to user) every
Friday?