Add console output scripts

This commit is contained in:
laspavel 2023-05-13 11:14:11 +03:00
parent 34f3ddb148
commit 299a944ab9
2 changed files with 4 additions and 2 deletions

View file

@ -32,7 +32,6 @@
:delay 2s
#email copies
:log info "Emailing backups"
:local time [/system clock get time]
/tool e-mail send to=$"toemail" subject="[$sysname Config Backup] $time $date" file=($"backupfilename",$"textfilename") body="Uptime: $uptime"
@ -43,6 +42,9 @@
/file remove $textfilename
/file remove $backupfilename
:log info "Backups created."
:put "Backups created."
} on-error={
/log error "***** AUTOBACKUP script finished with error ******"
}