Solved

schedule a bat-file in Win2k

Posted on 2003-10-24
5
292 Views
Last Modified: 2010-04-13
I need to autorun a bat-file each 5 minutes in Windows2000.

Anybody who can help me with this..?
0
Comment
Question by:oppdal
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
mrei earned 50 total points
Comment Utility
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
 
LVL 2

Expert Comment

by:Martin_C
Comment Utility
you can use the command "AT" in a bat file to schedule runtimes of programs.  for syntax, open command promt and type  


at ?


0
 
LVL 4

Expert Comment

by:darth_wannabe
Comment Utility
the 'at' sceduler was replaced with task scheduler
0
 
LVL 2

Expert Comment

by:Martin_C
Comment Utility
you can still use "at" from the command prompt if you need to
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now