Run a batch file continuously after 20 minutes (windows xp OS)?
-
01-10-2019 - |
Question
I want to run a batch file which contain command arp -d * ( used to flush the MAC entry table)
I want to execute this batch file continuously after 20-20 minutes .. regulary ? How can i do this with batch programming ?
Plz guide me ..
hoping for quick and positive response ..
Solution
If you dont have the sleep command on your system you can get it from the Windows Resource Kit.
:BEGIN
ARP -d *
SLEEP 1200
GOTO BEGIN
OTHER TIPS
With the following links you'll be able to achieve what you want:
How to execute commands in a batch file in timed intervals.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow