Rsync won't run from a scheduled task

4 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 12 hours ago
Joined: 01.05.2008 - 21:33
Rsync won't run from a scheduled task

Using cwrsync to push to a cwrsync server, I can not make the scheduled task work. I get Establishing secure channel ... followed by Terminating secure channel ... when run from the scheduled task window, or when set via the AT cmd. The batch file works properly when I run it from my session (administrator). The scheduled task will also start properly if another session (have 4) of rsync is already running. Any ideas?

itefix
Offline
Last seen: 2 weeks 12 hours ago
Joined: 01.05.2008 - 21:33
Re: Rsync won't run from a scheduled task

Have you tried to run the scheduled job as administrator ?

itefix
Offline
Last seen: 2 weeks 12 hours ago
Joined: 01.05.2008 - 21:33
Re: Rsync won't run from a scheduled task

The job is setup as an administrator, and when run with the at cmd it runs as system.

itefix
Offline
Last seen: 2 weeks 12 hours ago
Joined: 01.05.2008 - 21:33
Re: Rsync won't run from a scheduled task

Found a solution in this thread.
Had to setup the UserKnownHostsFile. Thanks for a great product.

http://www.itefix.no/phpws/index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&...

Topic locked

Release announcements