open ( CRON, "ssh host crontab -l" ) || die $!; while ( ) { print $_; } #### open ( RSYNC, "rsync -az -e \"ssh -o BatchMode=yes\" --delete-after host:/path/to/dir /path/to/backup |" ); while ( ) { print "output: $_"; }