3 ms·
This will not run the `command` in 17 seconds intervals. You need to take into account the amount of time that it takes to run it.
by xyzzyz 16y ago
This will not run the `command` in 17 seconds intervals. You need to take into account the amount of time that it takes to run it.
- mike-cardwell 16y agoOk. Whilst we're being anal: screen -dmS 17secondjob perl -Mthreads -e 'while(1){threads->create(sub{`run the command`})->detach();sleep 17}'
- eru 16y agoOr just use watch.
- mike-cardwell 16y agoCool. I was unfamiliar with this command. Looks useful.
- eru 16y agoLook for `watch -p'.