Re:Show HN: Crondom
by xyzzyz on Thursday December 16, 2010 @08:13AM
(#2011877)
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.
[ Parent
| on HN ]
Re:Show HN: Crondom
by mike-cardwell on Thursday December 16, 2010 @08:15AM
(#2011886)
Ok. Whilst we're being anal:
screen -dmS 17secondjob perl -Mthreads -e 'while(1){threads->create(sub{`run the command`})->detach();sleep 17}'
Or just use watch.
Re:Show HN: Crondom
by mike-cardwell on Thursday December 16, 2010 @09:48AM
(#2012174)
Cool. I was unfamiliar with this command. Looks useful.