Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Schedule Task Restart on Sophos Firewall

Hello online community,

I want to know if it's possible to implement a batchfile which restarts the complete firewall every day?. What are the necessary steps.

This is a workaround for a hardware issue.

Kind Regards for your help.

Firman



This thread was automatically locked due to age.
Parents
  • You could do it by a SSH connection on a linux machine. 

    #!/usr/bin/expect -f
    spawn ssh <XG IP> -l admin
    expect "password:"
    send "<Admin Password>\r"
    expect "Select Menu Number \\\[0-7\\\]:"
    send "7\r"
    expect "Shutdown(S/s) or Reboot(R/r) Device  (S/s/R/r):  No (Enter) >"
    send "r\r"
    expect eof
    exit

    __________________________________________________________________________________________________________________

Reply
  • You could do it by a SSH connection on a linux machine. 

    #!/usr/bin/expect -f
    spawn ssh <XG IP> -l admin
    expect "password:"
    send "<Admin Password>\r"
    expect "Select Menu Number \\\[0-7\\\]:"
    send "7\r"
    expect "Shutdown(S/s) or Reboot(R/r) Device  (S/s/R/r):  No (Enter) >"
    send "r\r"
    expect eof
    exit

    __________________________________________________________________________________________________________________

Children