system package update set channel=long-term
system package update check-for-updates
system package update download
system reboot
/system scheduler
add interval=1d6h name=Auto-Update on-event="/system package update\r\
\n set channel=long-term\r\
\n/system package update\r\
\n check-for-updates once\r\
\n:delay 1s; \r\
\n:if ( [get status] = \"New version is available\") do={ install }" \
policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
start-date=mar/04/2020 start-time=05:00:00