cynchronised sleep capbilty..

Doug Rabson dfr at qubesoft.com
Thu Feb 3 03:18:20 PST 2005


On 3 Feb 2005, at 10:17, Julian Elischer wrote:

> On Thu, 3 Feb 2005, Doug Rabson wrote:
>
>> On Wednesday 02 February 2005 17:44, Julian Elischer wrote:
>>> very clever!
>>>
>>> however it doesn't phaselock to teh time and still drifts.
>>> I need to trigger on (for example) 10 second boundaries across 50
>>> synchronised machines..
>>> (so thatthe machines agree about the sampling period.)
>>
>> How about a cron job which writes characters into a fifo every ten
>> secconds. The script can wait for the next ten second mark by reading 
>> a
>> single char from the other end of the fifo.
>
> how does a cron job run evey 10 seconds?
> also this woudl seem something that is a bit beyond
> a simple shell script in terms of trouble you would go to.

A very good point - I forgot that cron only goes down to minute 
resolution :-)
>



More information about the freebsd-current mailing list