Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run a batch file continuously after 20 minutes (windows xp OS)?

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 ..

like image 713
Vishwanath Dalvi Avatar asked Jan 28 '26 12:01

Vishwanath Dalvi


2 Answers

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
like image 61
KSimpson Avatar answered Jan 30 '26 02:01

KSimpson


With the following links you'll be able to achieve what you want:

How to execute commands in a batch file in timed intervals.

Run a program every 30 seconds

run batch file every 30 seconds

like image 33
Leniel Maccaferri Avatar answered Jan 30 '26 02:01

Leniel Maccaferri



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!