Stability test tool: batch file

This morning I realized that last Friday I did something that seems very simple to me, but may not be for young people not used to DOC (or at least windows95). I run a bat file test.bat containing following lines:

:loop
copy test\*.* import\*.*
sleep 600
goto loop

The same documents get copied into import directory each 10 minutes (600 seconds=10minutes). I was testing server who is able to pick up files incoming into this folder. It is quite typical to have such services to automatically process faxed documents and email attachments. But you could replace copy command with your process execution call or anything.
Now I don’t say you can’t do the same with different tools. But this tool was good enough for my specific need. This is one more time to say that the best tool is one the best suits your current need.

Browse by topic: