Created on
09-22-2009
05:08 AM
Edited on
03-19-2025
08:44 AM
By
Jean-Philippe_P
Description
This article describes how to set up FortiGate to reboot daily, at a pre-defined time.
Scope
FortiGate.
Solution
FortiOS firmware allows the user to automate a daily restart (reboot) of the FortiGate, at a pre-defined hour. 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 afterward). An alternate option is available in the form of an auto-script that can further fine-tune the reboot, cycle, or add additional commands (from v5.6).
From v6.2, a more advanced way can be used - Automation Stitch (FortiOS v6.0 has Automation Stitch, but can only be triggered by an event, and not Scheduled).
Daily restart. This option is configurable from the CLI as shown in the example below:
From v7.2 onward, there is a new action type 'system action' which can be used to reboot, shut down, or back up the config of the FortiGate. Refer to this document for more details: System automation actions to back up, reboot, or shut down the FortiGate.
Related articles:
Technical Tip: Automated script execution
Technical Tip: Use FortiGate automation stitches for alert emails