Run batch file continuously after 20 minutes (Windows XP OS)?

I want to run a batch file containing the arp -d * command (used to clear the MAC input table)

I want to execute this batch file continuously in 20-20 minutes. Regularly? How can I do this with batch programming?

Plz lead me ..

hoping for a quick and positive response.

+3
source share
2 answers

If you do not have a sleep command on your system, you can get it from the Windows resource set.

:BEGIN
ARP -d *
SLEEP 1200 
GOTO BEGIN
+3
source

Using the following links, you can achieve what you want:

How to execute commands in a batch file at time intervals.

30

30

+3

Source: https://habr.com/ru/post/1763294/


All Articles