
# use epm@nodejs
# crontab 
set -x
cd /data_disk/UPLOAD/sys
appFile=`ls -ltr cons-build-cons_master* | awk '{print $9}' | tail -1`
echo $appFile
sshpass -p Zeiss123 scp -o StrictHostKeyChecking=no -P 3022 $appFile keyfunc@192.168.124.63:/opt/app/EPM2/PRD/UPLOAD/sys 
echo 'upload to uat done'