schedulinga task

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2007
Posts: 156
Reputation: mrjoli021 is an unknown quantity at this point 
Solved Threads: 0
mrjoli021 mrjoli021 is offline Offline
Junior Poster

schedulinga task

 
0
  #1
Aug 6th, 2008
without using the windows task scheduler is there a way to automatically run a task at a certain time using c#?
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: schedulinga task

 
0
  #2
Aug 6th, 2008
Yes, scheduling with your own program. but your program must always running.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 39
Reputation: nvmobius is an unknown quantity at this point 
Solved Threads: 4
nvmobius nvmobius is offline Offline
Light Poster

Re: schedulinga task

 
0
  #3
Aug 8th, 2008
You can do it, but it's not recommended. Usually people who want to do their own scheduling set up a Windows Service to do so. You can create one easily with Visual Studio in C#.

AFAIK .Net cannot interact with the Task Scheduler directly. There might be something in all those new Microsoft namespaces introduced in 3.0, but I know of one resource who's exposed the Task Manager to .Net for you already: http://www.mvps.org/emorcillo/en/cod...asksched.shtml
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC