---

How to run a Linux script every few seconds under cron

Did you ever want to run a program every few seconds under a linux, unix, bsd or osx cron script? Here’s an elegant script that does just that. You can get 2,3,4,5,6,10,12,15,20,30 second resolution. Just run it once a minute under crond and it just works.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis