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
sleepis the second, it does permit fractional values ex.0.0xyfor xy milliseconds. So you can use a simplewhile ... sleeploop as in this answer – steeldriver Jul 30 '21 at 17:28wacthwaits until the command is finished before running it again after the specified time interval. – BeastOfCaerbannog Jul 30 '21 at 17:51