Skip to main content
Gsing
Explorer
November 14, 2022
Solved

How do I schedule a reboot in FortiGate firewall at a certain time from remote ?

  • November 14, 2022
  • 7 replies
  • 25511 views

How do I schedule a reboot in FortiGate firewall at a certain time from remote ?

Best answer by aionescu

Hello @Gsing

 

Please see the following KB article: Technical Tip: Programming a daily restart (reboot... - Fortinet Community 

Also, please take note of the fact that this is a repeated reboot, and it can be used for a one-time reboot at a predefined hour (with the mention that it needs to be removed afterwards).

 

Hope it helps. 

 

Adrian

7 replies

aionescu
Staff
aionescuAnswer
Staff
November 14, 2022

Hello @Gsing

 

Please see the following KB article: Technical Tip: Programming a daily restart (reboot... - Fortinet Community 

Also, please take note of the fact that this is a repeated reboot, and it can be used for a one-time reboot at a predefined hour (with the mention that it needs to be removed afterwards).

 

Hope it helps. 

 

Adrian

Gsing
GsingAuthor
Explorer
November 15, 2022

thanku @aionescu 

SeanH2001
Visitor III
December 18, 2023

Use a scheduled Automation Stitch. Set the trigger to a new condition (schedule, to execute once at X date and Y time) and the action to Reboot FortiGate. Much easier than creating a daily reboot and then remembering to then remove the reboot after the first execution.

Delta
New Member
May 12, 2026

How do I get it to do a monthly reboot on the 1st Tuesday of the Month.   Seems like it will either pick a single date or I have to go to a weekly … 

Yurisk
SuperUser
SuperUser
May 13, 2026

For monthly reboot, only the trigger will differ. E.g. trigger monthly on 1st of each month at the 22:10:

 

config system automation-trigger
edit "ScheduledReboot_trigger"
set trigger-type scheduled
set trigger-frequency monthly
set trigger-day 1
set trigger-hour 22
set trigger-minute 10
next
end

 

The rest is the same as in any kind of reboot.

Some more example stitches: https://github.com/yuriskinfo/Fortinet-tools/tree/main/Fortigate-automation-stitches

BTW: For the future, it is better to create a new post, as this one has been already marked as “Solved” many will not look at it.

Regards

yurisk.info - all things Fortinet blog, no ads
Delta
New Member
May 21, 2026

Yes, but client wants it on 1st Tuesday only.  Not 1st of month.   Tuesday at 11:00 am.  And only the 1st Tuesday.   That’s the part I’m having problems with.
 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!