473,583 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Task scheduler

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
4 2696
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.Threadin g.Timer. You can create a timer to run code
at specified intervals
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 10 '07 #2

"Rad [Visual C# MVP]" <no****@nospam. comwrote in message
news:1s******** *******@thinker sroom.com...
Sid.
>
Have a look at System.Threadin g.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
"Sid Price" <si*@nowhere.co mwrote in
news:OV******** ******@TK2MSFTN GP05.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
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_PAT H_

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...@r ogers.comwrote:
"Sid Price" <s...@nowhere.c omwrote innews:OV****** ********@TK2MSF TNGP05.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
9658
by: Faiz | last post by:
We have developed an application in VB6 (say AA.exe). We wish to schedule the execution of this application (AA.exe) through Windows Task Scheduler. Is there a way through which we can add this application (AA.exe) to Task Scheduler by using another application (say BB.exe), which is also developed using VB6? The operating systems can be...
4
2283
by: Christina | last post by:
Dear All, How can I pop up the windows task scheduler inside of my .net application? Such as I have a button called Schedule Now, after clicking it, the Add Scheduled Task window will pop up, just like clicking from Control Panel -> Scheduled Task -> Add Scheduled Task. Appreciate ahead for any of your suggestions. Thanks.
2
4721
by: database_guy | last post by:
I am getting the following error when trying to run or schedule a task. Please see below. There are more error explanations and I did not put all of them because I believe it to be one of the 1st few. Anyway, when I make a change in the task and click OK, the message pops up and I then hit Cancel but when I go directly back into the task,...
2
3534
by: Kevin | last post by:
Hi, I am looking for a Task Scheduler with source code that has the following features: - Must perform all of the same functions as the Windows Task Scheduler - Must be able to run COM Objects - Must be able to send email and log to the Windows Event Log - A web interface would be a real nice feature - It would be great if it was XML...
7
15190
by: Shane Story | last post by:
Have an app and would like to allow easy addition of MYAPP.EXE /F /P (for example) my prog with command line args, as a job to be run. Would like to make it easier on the user to run the app. I want to have it run automatically as specified by the user. What is the best thing to do and what platforms would it limit me to?
11
15392
by: Max | last post by:
I'm writing a program that needs to be able to create custom .job files and add them to the scheduled tasks folder. What I'd like to know is, what is the format of a .job file and how do I go about adding in all the data so that the task could run correctly? If that is something not so easy to do, then say I need a certain part of my...
3
2231
by: mayur_hirpara | last post by:
Hi, I am writing a VB.NET application. It is a Windows application at the moment. The application contains a button. the click event of button perform a long running task. It needs to be started by windows task scheduler to carry out some operation. When I am testing the application I want to differentiate if the "differentiate between a...
0
1261
by: =?Utf-8?B?U29tZW9uZSBlbHNl?= | last post by:
I'm attempting to open a program using Visual Basic 2005. Here's my code: Module Module1 Sub Main() Try AppActivate("The DownLoader") Catch Dim ReturnValue As Double = Shell("C:\Program Files (x86)\Equis\The DownLoader\Dlwin.exe", AppWinStyle.NormalFocus) c: If ReturnValue = 0 Then
1
4488
by: Cupric | last post by:
I have a python script that runs fine from the command line or from within IDLE, but doesn't work through the Vista Task Scheduler. The script downloads some csv files and then uses pywin32 to combine the csv files into a single document. When I run it through the task scheduler, it downloads the csv files, but then doesn't seem to launch...
0
7895
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8327
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8193
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5374
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1433
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.