Displaying 1 result from an estimated 1 matches for "anrultvpz".
2002 Jun 23
2
Rsync ssh script execution fails under cron?
...have experience writing such cron scripts.
------------------------------------------------------------------------------------
#!/bin/sh
# \
exec expect "$0" ${1+"$@"}
#
# -n dry run // --progress -v for testing
# -z for file compression
log_user 0
spawn time /usr/bin/rsync -anrultvPz --delete --exclude="vu/" -e /usr/bin/ssh --timeout 30 root@apache:/home/jhill/ /usr/local/bkup/home/jhill
expect "password: "
send "secret\n"
log_user 1
interact
-------------------------------------------------------------------------------------
Thanks for any...