|
-
Apr 18th, 2006, 06:33 AM
#1
Thread Starter
Fanatic Member
[2005] Scheduling in .Net
Can someone help with scheduling...
How do you do scheduling generally on .net?
suppose I want my application to send emails on monday,wednesday and friday...
or April month of every year...
How to schedule stuff like that APART FROM USING TIMER CONTROL...
Thanks :-)
P.S:I dont wanna use that timer control..
Godwin
Help someone else with what someone helped you! 
-
Apr 18th, 2006, 06:43 AM
#2
Re: [2005] Scheduling in .Net
Timers are the only way to do it within a .NET application that I'm aware of. You can leave it up to Windows and use the scheduled tasks feature. You can use the commandline shtasks.exe to create and edit Windows scheduled tasks. You can get help on the syntax from Windows Help & Support and gigemboy's CodeBank submission on redirecting commandline output would be useful.
-
Apr 18th, 2006, 08:52 AM
#3
Re: [2005] Scheduling in .Net
Use a System.Timers.Timer, have it tick close to the due time and then make the interval smaller. Once it's done, do something.
That, or use the task scheduler application in Windows.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|