How To Repeat A Command Every X Seconds On Linux
Source: This article explains how to repeat a command every X seconds on Linux, in 2 ways: using watch, and using sleep in a while loop (with a way to avoid time drift when using long-running commands).