Running a Script Manually Using the CLI
After creating a script you can run the script manually through the CLI. Enter the following:
eqcli >
smart_control run
scname
To see when the Smart Control was last executed, use the following format:
eqcli >
show smart_control
smartcontrlname
where
smartcontrolname
is the name of the smart control.
The following is an example:
eqcli > show smart_control sc-test
This Smart Control is enabled.
Last Execution Time: 11/17/2014 17:07:55
Next Execution Time: 11/18/2014 17:07:55
Smart Control Name
: sc-test
Schedule
:
Interval
: 0
Flags
:
Script
:
echo "test smart control";
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
701
Equalizer Administration Guide
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......