473,386 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Task Scheduler

Hi

I wish to write a task scheduler in my application.
What is the best way to do this?
Do I use the windows scheduler or try and write my own.?
Is a timer checking every second feasible.?

Regards
Tim
Jul 21 '05 #1
3 1839
Check the "Wrapper Classes for the Windows Task Scheduler" from
http://www.mvps.org/emorcillo/dotnet/shell/index.shtml

--

HTH

Éric Moreau, MCSD
Conseiller Principal / Senior Consultant
Concept S2i inc.(www.s2i.com)
"Tim Marsden" <TM@UK.COM> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

I wish to write a task scheduler in my application.
What is the best way to do this?
Do I use the windows scheduler or try and write my own.?
Is a timer checking every second feasible.?

Regards
Tim

Jul 21 '05 #2
Éric
Thanks for the reply, I have downloaded your code and I am checking it out.

Many thanks
Tim
"Éric Moreau" <er************************@videotron.ca> wrote in message
news:e8********************@weber.videotron.net...
Check the "Wrapper Classes for the Windows Task Scheduler" from
http://www.mvps.org/emorcillo/dotnet/shell/index.shtml

--

HTH

Éric Moreau, MCSD
Conseiller Principal / Senior Consultant
Concept S2i inc.(www.s2i.com)
"Tim Marsden" <TM@UK.COM> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

I wish to write a task scheduler in my application.
What is the best way to do this?
Do I use the windows scheduler or try and write my own.?
Is a timer checking every second feasible.?

Regards
Tim


Jul 21 '05 #3
On Mon, 28 Jun 2004 10:52:18 +0100, Tim Marsden wrote:
Hi

I wish to write a task scheduler in my application.
What is the best way to do this?
Do I use the windows scheduler or try and write my own.?
Is a timer checking every second feasible.?

Regards
Tim


..NET library and interop definitions for the windows task scheduler...

http://www.mtogden.com/~tom/files/Sc...gAgent.NET.zip

HTH

--
Tom Shelton [MVP]
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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...
4
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,...
2
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...
2
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...
7
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. ...
11
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...
3
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...
4
by: Sid Price | last post by:
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...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.