- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Automation Stitch (trigger= schedule) , (action = script CLI)
Hello,
I have configured an automation stitch that, each 1 hour it flushes IPSEC tunnel
(((config system automation-trigger
edit "Restart_script"
set trigger-type scheduled
set trigger-hour 1
next
end
config system automation-action
edit "Restart_script"
set action-type cli-script
set script "diagnose vpn tunnel flush VPN_****"
set accprofile "super_admin"
next
end )))
But the stitch not working! It's supposed to get triggered each one hour, but the trigger count is 0.
Is anybody familiar with it?
help me please.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you add the trigger frequency "set trigger-frequency hourly" and check?
config system automation-trigger
edit "Restart_script"
set trigger-type scheduled
set trigger-frequency hourly
set trigger-hour 1
next
end
Suraj
- Have you found a solution? Then give your helper a "Kudos" and mark the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @techcookie ,
Once you configure "set trigger-frequency hourly" under automation-trigger , you can verify next trigger timestamp using below command.
#dia test application autod 3
