Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

ZyWALL USG to reboot automatically by schedule

You can upload shell script to ZyWALL/USG and issue command line to achieve this

Step 1 : Create a shell script

1. Run Notepad application
2. Input below content

configure terminal
reboot

3. Save this file as “reboot.zysh”

4. Upload to ZyWALL/USG

Step 2 : Issuing schedule-run command line

1. Login via console/telnet/SSH

2. Issuing below commands

configure terminal
schedule-run 1 reboot.zysh daily 06:00
write
(The device will reboot at 06:00 everyday)

configure terminal
schedule-run 1 reboot.zysh weekly 10:00 sun
write
(The device will reboot at 10:00 every Sunday)

configure terminal
schedule-run 1 reboot.zysh monthly 10:00 23
write
(The device will reboot at 10:00 every month on 23th)

Leave a Reply