1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env sh timer="$1" shift 1; command="$@" while : do sleep $timer eval $command; done