How to Run or Repeat a Linux Command Every X Seconds Forever
Posted: Fri Jul 16, 2021 6:25 pm
# while true; do clear; <command>; date; sleep 5; done
<command> = enter your command
sleep 5 = wait 5 seconds then repeat
<command> = enter your command
sleep 5 = wait 5 seconds then repeat