473,763 Members | 7,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding Application to Scheduled Tasks Programmaticly

Hi,
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client wants
some kind of utility that would help them manage scheduled tasks on different
servers. So, how can I add scheduled task to local machine or remote servers
programmaticall y?
Thanks.
Nov 17 '05 #1
3 22957
The keyword here is ITaskScheduler. Sample code for Interop:
http://www.codeproject.com/csharp/tsnewlib.asp
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Lenn" <Le**@discussio ns.microsoft.co m> wrote in message
news:75******** *************** ***********@mic rosoft.com...
Hi,
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmaticall y?
Thanks.

Nov 17 '05 #2
"Lenn" <Le**@discussio ns.microsoft.co m> schrieb:
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmaticall y?


Wrapper Classes for the Windows Task Scheduler
<URL:http://mvps.org/emorcillo/en/code/shell/tasksched.shtml >

A New Task Scheduler Class Library for .NET
<URL:http://www.codeproject .com/csharp/TSNewLib.asp>

Task Scheduler Library for .NET
<URL:http://www.codeproject .com/csharp/taskschedulerli brary.asp>

Task Scheduler for .NET
<URL:http://www.msjogren.ne t/dotnet/eng/samples/misc.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 17 '05 #3
Thank you guys. Exactly what I needed.

"Herfried K. Wagner [MVP]" wrote:
"Lenn" <Le**@discussio ns.microsoft.co m> schrieb:
I developed a console .exe application which is going to run on scheduled
basis, it will be scheduled to run in Windows Scheduled tasks. Client
wants
some kind of utility that would help them manage scheduled tasks on
different
servers. So, how can I add scheduled task to local machine or remote
servers
programmaticall y?


Wrapper Classes for the Windows Task Scheduler
<URL:http://mvps.org/emorcillo/en/code/shell/tasksched.shtml >

A New Task Scheduler Class Library for .NET
<URL:http://www.codeproject .com/csharp/TSNewLib.asp>

Task Scheduler Library for .NET
<URL:http://www.codeproject .com/csharp/taskschedulerli brary.asp>

Task Scheduler for .NET
<URL:http://www.msjogren.ne t/dotnet/eng/samples/misc.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 17 '05 #4

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

Similar topics

3
8593
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it, might as well move to PHP (for a variety of reasons - not trying to reopen the PHP -vs- CFM thing again :). Anyway, so I'm looking at this system, and there are no "scheduled tasks" (it's win2kas). How do you write a server app that needs to...
5
4775
by: Bart Simpson | last post by:
Hi, I want to control 'Scheduled Tasks' in Windows 2003 by python program. But I couldn't find any Python module about win32 'Scheduled Tasks'. I could find only Perl module about it. (see http://taskscheduler.sourceforge.net) But, I want to control 'Scheduled Tasks' by python :) Is there any python module about win32 'Scheduled Tasks'?
1
410
by: Dave_NH | last post by:
I would like my VB application to set some specific values in the "Result" code so that when we check the "Last Result" column in Scheduled Tasks we'll see that information. Suggestions?
0
4235
by: Satish | last post by:
Scheduled Tasks (.Net ) does not run when server is logged off (Windows 2003): I have a .net executable (command line exe) which performs certain business operations. I can run the program (scheduled or manually) without a problem if I am logged in. But when i log off and and set it up as a scheduled task using the Task Scheduler, I receive the following error. Event Type: Error
2
3116
by: Tatter | last post by:
I have a simple .NET 1.1 console application, written with Visual Studio .NET 2003, that needs to be run on a Windows XP system as a scheduled task. When run on its own, the program executes with no errors. When run as a scheduled task on a computer with debugging tools installed, it runs with no errors. When run as a scheduled task on a computer with no debugging tools installed, namely the Windows XP system it is supposed to be run on, it...
3
3442
by: kj7ny | last post by:
How can I access and manipulate Scheduled Tasks in Windows using Python? I have a Windows XP workstation running Python 2.4.4 using the win32all modules to control the windows services on multiple Windows 2003 servers. It works great. However, I also need to remotely collect the settings for the scheduled tasks (on those same Windows 2003 servers) and then manipulate those task settings.
7
9107
by: whutto | last post by:
I have a VB.NET app that crashes when run from the Windows scheduled tasks, but runs fine when the run-as user is logged on. The app also runs fine from the scheduled jobs if the run as user is disconnected. The O/S is Windows Server 2003, the app is created with VB.NET 2003. The .NET framework is up todate with Windows releases. The APP opens connections to an SQL Server 2003 database and an ODBC sql connection to an iSeries database. ...
3
6369
by: Steve | last post by:
Here is what I want to do. Currently I have to log into 30 servers every morning and see if all the jobs under 'scheduled tasks' ran. Is there a way from .NET to read that directory for the selected server? So I want a web page, it will have a drop down box with all the servers I log into every day. I then want to select a server and read the all the Scheduled tasks and list them in a grid view. Is this possible using C# and ASP.NET
1
1634
by: naveensrirangam | last post by:
We want to do a total 10 number of scheduled tasks daily. These tasks will run in certain time in daily and every task application developed in different technologies . Now we are looking to do a automation system for all the daily scheduled processes.what is the best approach to check and run the scheduled events / tasks.
0
10144
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3917
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
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.