I\'ve seen a few solutions, including watch and simply running a looping (and sleeping) script in the background, but nothing has been ideal.
I have a script that ne
Won't running this in the background do it?
#!/bin/sh while [ 1 ]; do echo "Hell yeah!" & sleep 15 done
This is about as efficient as it gets. The important part only gets executed every 15 seconds and the script sleeps the rest of the time (thus not wasting cycles).