| Description | This article describes how to run a script out of the Scheduler to run FortiNAC Reboot based on a schedule. |
| Scope | FortiNAC. |
| Solution |
Create a script file under /home/cm/scripts:
execute enter-shell $ vi Run-Reboot #!/bin/sh # Check if environment file .yams exists # Go to the main directory (optional) # Display a message # Execute reboot command exit 0 List the file under the /home/cm/scripts directory: /home/cm/scripts$ ll Make the script executable:
List:
$ ll
Create the scheduler in the FortiNAC GUI:
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.