Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!yale!quasi-eli!cs.yale.edu!Anselmo-Ed From: Anselmo-Ed@cs.yale.edu (Ed Anselmo) Newsgroups: comp.unix.wizards Subject: Re: timed problems? Message-ID: Date: 25 May 90 15:43:10 GMT References: <103@bohra.cpg.oz> <1990May25.141139.14193@phri.nyu.edu> Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 14 In-reply-to: Anselmo-Ed@cs.yale.edu's message of 25 May 90 15:05:26 GMT Me> You don't have to run ntpd on all the workstations. You can do Me> something like Me> 0 * * * * sleep `expr $$ % 60`;/usr/local/etc/ntp -s -f ntpd-host1 ntp-host2 Me> out of cron to keep the workstation clocks in sync with the machines Me> running ntpd. Proving that I am a true wannabe pseudo-wizard. You have to escape the '%' with a backslash, lest cron treat it as a newline. No wonder my clocks were drifting. -- Ed Anselmo anselmo-ed@cs.yale.edu {harvard,decvax}!yale!anselmo-ed