Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task Scheduling

Status
Not open for further replies.

ProgrammingNewbie

Programmer
Dec 6, 2001
3
US
I am new to programming and have been working a program to execute an event at given days and times. The user will determine the times and days and I will need to check this and execute them when the current day and time matches the choices he has made.

I would appreciate suggestions on the best way to approach this.

A. Brock
 
NT, 2000, and XP all have the AT command which allows you to schedule tasks.

Chip H.
 
Why don't you make a program that just does the task, then put that program in Win98's task scheduler. Brad,
Hey! email me any time! Bradsvb@yahoo.com
 
Since you still have to support the Win95 platform, why no write a program that has a timer that every 10 minutes (or whatever granularity you choose) checks a database/file for tasks to run? It could then use the ShellExecute command (see this forum's FAQ) to run the task.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top