Hi all I wanna do something like timing with ASP.net(c#). for example I specify a date for sending an email (or any other jobs). How can I do this? I don't have any idea. any suggestion can help me. thanks in advance.
Write the code that does what you need, then set up a schedule on the server to run that code (acccessed from the Control Panel in Windows). If you're on a dedicated server doing that is easy, if you're on shared/reseller hosting you'll have to ask the host if they can set one up for you (they may refuse) but many windows control panels have the ability to set up schedules so you might want to check that out. It's the only way to do this reliably as web sites don't actually do anything until someone visits a page. If your site is busy enough you might be able to rely on enough people visiting the site to trigger the code you need at the correct time, but I wouldn't want to rely upon this. Setting up a schedule is the only way - just like a CRON job on Linux.