I want to create a sh
script that runs python script python core.py
and when the script is finished pause for some milliseconds and run it again. And so on and on. Not sure where to start - any help appreciated.
Asked
Active
Viewed 34 times
0

John T
- 101
- 1
sleep
is the second, it does permit fractional values ex.0.0xy
for xy milliseconds. So you can use a simplewhile ... sleep
loop as in this answer – steeldriver Jul 30 '21 at 17:28wacth
waits until the command is finished before running it again after the specified time interval. – BeastOfCaerbannog Jul 30 '21 at 17:51