Re: the at command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2013-01-21, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> I am looking for a way to "sync" up running a command on 10 boxes at the 
> same time.

Why do you think you need to do that and make sure they run at exactly
the same second?  It seems like instead it would be better to make your
command more robust to small deviations in the time at which they are
run.

> So what mechanizim exists to run command down to the second?

No such mechanism exists that I know of.  As other posters have already
mentioned, if your problem is how to execute a command on N different
boxes at exactly the same second, the granularity of the at or cron
commands are the least of your problems.

I suspect that, unless you can demonstrate a real need for this feature,
the answers you're going to get are going to amount to "run at the top
of the minute instead".  (And if you can demonstrate a legitimate need,
the problem is not going to be solved by at or cron.)

--keith


-- 
kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux