:global mailip
:set mailip [:resolve smtp.bbb.net]
:global mailuser "aaa@bbb.net"
:global mailpw "xxx"
:global tomail "aaa@bbb.net"
/tool e-mail set from=aaa@bbb.net address=$mailip password=$mailpw user=$mailuser port=25
export file=rosbackup
:delay 10
/tool e-mail send file=rosbackup.rsc to=$tomail body=" $[/system clock get date] $[/system clock get time]" subject="ROS备份 $[/system clock get date] $[/system clock get time] "
:log info ("ROS备份文件已发送 " . [/sys cl get time] . " " . [/sys cl get date])
Ros自动备份到邮件
未经允许不得转载:正能量 » Ros自动备份到邮件