Re: the at command

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



On Tue, 2013-01-22 at 02:36 -0800, John Doe wrote:
> From: Jerry Geis <geisj@xxxxxxxxxxxxxxx>
> <snip>

> You could use a "cluster ssh" to run your commands at the same time on all hosts.
> You could run a script on each server that just run an infinite loop and, at a give time, runs a command.

IMO, if one is going to a bash script, it would be better to:
- calculate time to elapse until the target cmd is to run
- use a sleep (maybe adjusted a tad to allow for latency)

> <snip>

If all the nodes are in sync, timewise, this should get them all going
close to each other.

Bill

_______________________________________________
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