Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

Scheduling Jobs Programmaticaly

I need to have a lot of jobs scheduled at various times (one job - mulitple times). Is it possible to programmaticaly schedule tasks in the scheduled tasks feature of Windows 2000. Doing it manually would be a really big pain.

Or is there any other way I could schedule tasks in Windows with a new app or something.

Any help would be highly appreciated!

Pranu
0
pranu
Asked:
pranu
1 Solution
 
SysExpertCommented:
Use a program to run a batch file usng the AT command, with paramters passed to the batch file.

instead of
at 12:00 echo hello

create  at1.bat
with

at  %1  %2  %3

and pass these programmatically.

I hope this helps !
0
 
ismartCommented:
Yes you can use the Scheduled Tasks found in Accessories - System Tools as well as the AT command. The link below will take you to an MS article on it.

http://support.microsoft.com/support/kb/articles/Q300/1/60.ASP?LN=EN-US&SD=gn&FR=0&qry=Q300160&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=WIN2000
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now