By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,281 Members | 2,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,281 IT Pros & Developers. It's quick & easy.

Task scheduler

P: n/a
Is there a .NET (2003) class available somewhere that might provide a
comprehensive task scheduler with a better granularity than the one minute
of the built-in scheduler on XP? Even down to 15 seconds would be better
than one minute.

Sid.
Mar 10 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Fri, 9 Mar 2007 18:45:36 -0700, Sid Price wrote:
Is there a .NET (2003) class available somewhere that might provide a
comprehensive task scheduler with a better granularity than the one minute
of the built-in scheduler on XP? Even down to 15 seconds would be better
than one minute.

Sid.
Have a look at System.Threading.Timer. You can create a timer to run code
at specified intervals
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 10 '07 #2

P: n/a

"Rad [Visual C# MVP]" <no****@nospam.comwrote in message
news:1s***************@thinkersroom.com...
Sid.
>
Have a look at System.Threading.Timer. You can create a timer to run code
at specified intervals

Yes I am aware of that, however I need to have functionality and a UI that
is similar to the Task Scheduler. It seems such a waste of effort to write
that same code myself so the user can select schedules just like they do
with the built-in scheduler.

There is a project on the Code Project that offers a .NET wrapper class for
programmatic access to the Task Scheduler, however it has the same
resolution/granularity issues since the scheduling is done with the built-in
scheduler.

Thanks,
Sid.
Mar 10 '07 #3

P: n/a
"Sid Price" <si*@nowhere.comwrote in
news:OV**************@TK2MSFTNGP05.phx.gbl:
Yes I am aware of that, however I need to have functionality and a UI
that is similar to the Task Scheduler. It seems such a waste of effort
to write that same code myself so the user can select schedules just
like they do with the built-in scheduler.

There is a project on the Code Project that offers a .NET wrapper
class for programmatic access to the Task Scheduler, however it has
the same resolution/granularity issues since the scheduling is done
with the built-in scheduler.
The task scheduler was not meant to be run continously - if that is the
case, what you want is a service.

Yes, it's a bit of a hassle to rebuild the task scheduler GUI, but perhaps
you can customize and simplify it for your application needs?
Mar 10 '07 #4

P: n/a
or you could just use SQL Agent Service-- this is included with MSDE;
and it allows you to run things on a scheduled basis... it's actually
really really powerful and it's free

but SQL 2005 Express doesn't have anything similiar
and since those dipshits wouldn't allow MSDE 2.0 to run on Vista;
you've got like _NO_UPGRADE_PATH_

sorry but M$ took a crap on us 'Developers, Developers, Developers'
yet again
sorry but M$ took a crap on us 'Developers, Developers, Developers'
yet again
sorry but M$ took a crap on us 'Developers, Developers, Developers'
yet again

On Mar 10, 1:47 pm, Spam Catcher <spamhoney...@rogers.comwrote:
"Sid Price" <s...@nowhere.comwrote innews:OV**************@TK2MSFTNGP05.phx.gbl:
Yes I am aware of that, however I need to have functionality and a UI
that is similar to the Task Scheduler. It seems such a waste of effort
to write that same code myself so the user can select schedules just
like they do with the built-in scheduler.
There is a project on the Code Project that offers a .NET wrapper
class for programmatic access to the Task Scheduler, however it has
the same resolution/granularity issues since the scheduling is done
with the built-in scheduler.

The task scheduler was not meant to be run continously - if that is the
case, what you want is a service.

Yes, it's a bit of a hassle to rebuild the task scheduler GUI, but perhaps
you can customize and simplify it for your application needs?

Mar 12 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.