PC Review


Reply
Thread Tools Rate Thread

performing scheduled tasks in .net

 
 
Andy Fish
Guest
Posts: n/a
 
      26th Nov 2004
Hi,

I need to implement some kind of scheduler in my .net windows service that
can run tasks on a specified schedule. It needs to be more sophisticated
than just "every N seconds". Ideally it should support cron-style
specification of date/time intervals or something similar.
I have used quartz for java and it does exactly what I want (but in the java
world)

AFAIK the only "built in" feature is the windows 'at' command, but this
would require me to fire up a separate command line app every time which
then pokes the service to perform the work, so it's a bit clunky.

Is there anything I can use to do this kind of thing natively inside .net?

TIA

Andy


 
Reply With Quote
 
 
 
 
William Stacey [MVP]
Guest
Posts: n/a
 
      26th Nov 2004
No native .net scheduler AFAIK. You could wrap the os scheduler or create
one. Here are two examples of both methods:
Create one:
http://www.codeproject.com/csharp/EventScheduler.asp

Create a managed wrapper for the OS Scheduler.
http://www.codeproject.com/csharp/tsnewlib.asp

--
William Stacey, MVP
http://mvp.support.microsoft.com

"Andy Fish" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I need to implement some kind of scheduler in my .net windows service that
> can run tasks on a specified schedule. It needs to be more sophisticated
> than just "every N seconds". Ideally it should support cron-style
> specification of date/time intervals or something similar.
> I have used quartz for java and it does exactly what I want (but in the

java
> world)
>
> AFAIK the only "built in" feature is the windows 'at' command, but this
> would require me to fire up a separate command line app every time which
> then pokes the service to perform the work, so it's a bit clunky.
>
> Is there anything I can use to do this kind of thing natively inside .net?
>
> TIA
>
> Andy
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Defender not performing scheduled scans zen.conundrum@gmail.com Windows XP Security 1 8th Jul 2006 12:30 AM
Add Scheduled Task wizard in Scheduled Tasks won't run =?Utf-8?B?U01GYWlzb24=?= Microsoft Windows 2000 4 12th May 2005 01:26 AM
Backup-Scheduled Incremental Not Performing Windows XP Basics 0 6th Apr 2004 11:08 PM
Scheduled Tasks scheduled time automatically changing Chris Windows XP Performance 0 24th Dec 2003 09:24 PM
PERFORMING OFFLINE TASKS Robbie Hunter Microsoft Outlook 1 5th Nov 2003 08:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:11 AM.