Discussion Locked

Task Scheduler for NT 4.0

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a task scheduler for NT 4 similar to the Win95 task scheduler? I found a Command Scheduler in the Resource Kit which opens the WinAT utility, but I can't get that to do anything.
I have a need to run a task (consisting of downloading a file from our AS400, then launching an application that modifies the file and uploads it to a folder) 2 times a day on an NT4 server. It would be much easier to schedule this to run automatically.
If anyone knows of a utility (free or not) that I canuse for this, please let me know. Thanks!

9 replies

by oliviu

Go to Control Panel and open Services.
Start Schedule service and change it to Automatic.

Now you can use the 'at' command from the command prompt to schedule applications.

An exemple of 'at' command:

at 23:00 /every:M,T,W,Th,F,S,Su cmd /c "d:\oracle\backup\Orabkup.bat"

The command will run every day at 23 p.m. the batch file d:\oracle\backup\Orabkup.bat

Good Lock

by curlergirl

Task Scheduler and the AT Scheduler are two different things - one comes with NT and one comes with IE. When you go to Control Panel/Services on your server, you will see either Task Scheduler or Schedule listed as a service. If you see Task Scheduler, this is the IE task scheduler and doesn't work with the WinAT utility. This is one of the MOST annoying things about IE (which I generally don't mind as a browser) - when you load an updated version of IE on an NT server, it replaces the NT scheduler with the IE Task Scheduler. If you want to use the WinAT utility, you must GET RID of Task Scheduler and return your machine to its pristine NT scheduling condition. This can only be done through editing your registry. Here is a TechNet article that tells you what and how to do it: Q196731. Look it up on TechNet CDs or, if you don't have them, go to www.microsoft.com/technet and search the knowledgebase for this article number. Once you've done that, you should be able to use the WinAT task scheduler to schedule your task. Just be sure that the Schedule service has a high enough permissions level on your server to do what you need to do. Hope this helps!

by bhrdwh

Yes, you can use "Control Pannel" - "Schedule Services" to run files using "AT" command.
Akash

by @lberto

If none of the above worked I would suggest an even easier one. I suppoused you have an antivirus installed on your server. Well, you can use its scheduler program to run a program. If you are using Norton for example it has a scheduling built in, the same with McAfee, they work great, and if you are thinking of only one application it will work.
Give it a try.
Good luck,
@lberto

This discussion is closed to new replies.