[CentOS] the at command

Bill Maltby (C4B) centos4bill at gmail.com
Tue Jan 22 17:46:58 UTC 2013


On Tue, 2013-01-22 at 02:36 -0800, John Doe wrote:
> From: Jerry Geis <geisj at pagestation.com>
> <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




More information about the CentOS mailing list