473,396 Members | 1,924 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,396 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 1840
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.