Operating System - HP-UX
1837630 Members
3214 Online
110117 Solutions
New Discussion

Setting a cron job to run less than a minute

 
SOLVED
Go to solution
hpuxrox
Respected Contributor

Setting a cron job to run less than a minute

is there a way to set a cron job (without creating a script) to run every 30 seconds?
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Setting a cron job to run less than a minute

In a word, no. Cron's minimum resolution is 1 minute. The typical way to do this is to put sleeps within a script and let the script itself loop.
If it ain't broke, I can fix that.
hpuxrox
Respected Contributor

Re: Setting a cron job to run less than a minute

Thats what I thought,

Thanks