Skip to main content
WinterSnowYap
Staff
Staff
January 19, 2026

Troubleshooting Tip: How to troubleshoot FortiManager's error of failed schedule scripts

Description This article describes how to troubleshoot FortiManager's failed schedule scripts.
Scope FortiManager.
Solution

Below is the scenario:

  1. At the FortiManager CLI, run the command to enable the schedule scripts feature.

 

config system admin setting

    set show_schedule_script enable

end

 

WinterSnowYap_0-1768786277005.png

 

  1. At FortiManager, create a script and run it as a scheduled script.

 

WinterSnowYap_1-1768786277015.png

 

During that time, FortiManager failed to run the scheduled script.

 

Therefore, at FortiManager, go to System Settings -> Task Monitor -> Select View Details for the error logs information by selecting either 'View Progress Report' or 'View Script Execution Result'.

 

WinterSnowYap_2-1768786277017.jpeg

 

WinterSnowYap_3-1768786277023.jpeg

 

WinterSnowYap_4-1768786277027.jpeg

 

Based on the error log information, it mentions line 2; go back to the script and check again.

 

WinterSnowYap_5-1768786277031.png
    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT