tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rsync-question
@ 2005-01-28 11:58 Dr. Martin Körfer
  0 siblings, 0 replies; only message in thread
From: Dr. Martin Körfer @ 2005-01-28 11:58 UTC (permalink / raw)


Hi managers,

Having successfully installed rsync on Tru64 5.1a, I was able to synchronize the
data on our anonymous ftp-server with a disk on an "access-server for
users"
All worked fine if I typed in as root (form the access-server):

/usr/bin/rsync -av --delete ftp:/ftp/pub /ftp

The ftp-disks were synchronized by using "key-login" for root through "ssh2"
running on both servers.

Now putting this into the the crontab-file, execution failed with the
error-message:

rsync: Failed to exec ssh: No such file or directory (2)

even putting the command into a script-file with the preceding lines:
#!/bin/csh
source /.cshrc
(csh is the root-login-shell and the /usr/bin-path is defined in /.cshrc)
results in the same error.

Any idea how to run rsync thb in the "crontab" ???

Thanks

Martin

-------------------------------------------------
This mail sent through IMP: webmail.mpch-mainz.mpg.de



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-28 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28 11:58 rsync-question Dr. Martin Körfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox