schedule a bat-file in Win2k

I need to autorun a bat-file each 5 minutes in Windows2000.

Anybody who can help me with this..?
oppdalAsked:
Who is Participating?
 
mreiConnect With a Mentor Commented:
1. Go to Start / Programs / Accessories / System Tools / Scheduled Tasks
2. Add New Task / Continue / Search
3. Choose your batch file for daily work and enter first time setting
4. Enter Username and password as required (this is mandatory in w2k; tasks doesn't work without!)
5. Mark "Advanced" an go on
6. Now choose the time table and further adjust your settings. You can enter repeating intervalls (every 5 Minutes) after going to Advanced settings.

Hint: You can enter some checking lines in your batchfile to verify if it's running well.
Look here:

------------------------------------

date /T >>c:\batch.log
time /T >>c:\batch.log
echo ================ >>c:\batch.log

-----------------------------------

Copy the lines between the dashes into your Batchfile too and you can check c:\batch.log whether your job is running or not.
0
 
Martin_CCommented:
you can use the command "AT" in a bat file to schedule runtimes of programs.  for syntax, open command promt and type  


at ?


0
 
darth_wannabeCommented:
the 'at' sceduler was replaced with task scheduler
0
 
Martin_CCommented:
you can still use "at" from the command prompt if you need to
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.