[Orca-users] Successful ORCA user
Bruce Shaw
Bruce.Shaw at gov.ab.ca
Wed Aug 20 09:56:29 PDT 2003
>If any one knows how to make rsync work using crontab, I will be a
happy man.
Suppose you have a collection server barby and a client server ken.
The file /.rhosts on barby contains the entry:
ken root
On barby, mkdir /usr/local/var/orca/orcallator/ken
Create a file on ken in /usr/local/bin called pushorca.rdist which reads:
HOSTS = (root at barby)
FILES = (/usr/local/var/orca/orcallator/ken/*)
(${FILES}) -> (${HOSTS})
install;
create a crontab entry for root on ken that reads
34 6-18 * * 1-5 /usr/bin/rdist -f /usr/local/bin/pushorca.rdist > /dev/null
2>&1
(note that's Monday to friday 6 a.m. to 6 p.m. once per hours at 34 minutes
after - you may need/want to update more often depending upon what your
collection server can handle).
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.
More information about the Orca-users
mailing list