You can use autohotkey
The following autohotkey solution is much better than the windows task scheduler solutions because the task scheduler solutions only work from a specific time. So if your computer were turned on after that time then you'd have to wait for the clock to reach that time. This just operates as soon as the script starts.
With autohotkey, you can use either a)a timer or b)a while true and a sleep. (Note- i've tested both.. both seem fine.. and btw the while loop with the sleep doesn't hog cpu)
Suppose your autohotkey file is blah.ahk
And the thing you want to run is a bat file.
while true
{
Run cmd /c c:\blah\blah.bat,,Hide
sleep 10000 ; 10 seconds
}
The bat file could have a list of commands. Or you could run an exe Run c:\blah\blah.exe
You can have a main autohotkeys file with include
lines , one for each of the ahk scripts that you like to run. That avoids having lots of tray icons, or having one giant ahk file.
A timer version looks like this
setTimer, label, 10000 ;10 seconds
return
label:
; do some commands
return