RB2011UiAS and any other RB. v6.38.1 or current v6.39.1 it worked on v6.30 I have created a script to export compact file=filename.rsc it create the file and I can send the file on an email manually on email tool. But when it runs automatically from the script and the scheduler it always gives the error handling file. Tools email work perfectly sending the file manually using send email button Here is the copy of the script:
/system script
add name=“e-script” policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon,dude
source=“/export compact file=([/system identity get name]); /tool
e-mail send to= "netadmin@lightningspeed.net" subject=([/system identity get
name] . " rsc") file=([/system identity get name] . ".rsc")”
/system scheduler
add comment=“” disabled=no interval=1d name=“email-script” on-event=e-script
start-date=jan/01/1970 start-time=08:45:30