7210 SAS-MXP, R6, R12, S, SX, T BASIC SYSTEM
CONFIGURATION GUIDE RELEASE 22.9.R1
System management
6.14.1.3.6.1 Action
Use this command to configure the parameters for a script, including the maximum amount of time to keep
the results from a script run, the maximum amount of time a script may run, the maximum number of script
runs to store and the location to store the results.
Use the following CLI syntax to configure the parameters for a script.
config>system>cron
action action-name [owner action-owner]
expire-time {seconds|forever}
lifetime {seconds|forever}
max-completed unsigned
results file-url
script script-name [owner script-owner]
shutdown
Example: Command usage to configure the parameters for a script
config>system>cron# action test
config>system>cron>action# results ftp://172.22.184.249/./sim1/test-results
config>system>cron>action# no shut
Example: Configuration output
The following sample output shows a script named ‟test” receiving an action to store its results in a file
called ‟test-results”.
A:sim1>config>system>cron# info
----------------------------------------------
script "test"
location "ftp://172.22.184.249/./sim1/test.cfg"
no shutdown
exit
action "test"
results "ftp://172.22.184.249/./sim1/test-results"
no shutdown
exit
----------------------------------------------
A:sim1>config>cron# script
6.14.1.3.6.2 Schedule
The schedule function configures the type of schedule to run, including one-time only (oneshot), periodic
or calendar-based runs. All runs are determined by month, day of month or weekday, hour, minute and
interval (seconds). If end-time and interval are both configured, whichever condition is reached first is
applied.
Use the following CLI syntax to configure the type of schedule to run.
config>system>cron
schedule schedule-name [owner schedule-owner]
action action-name [owner owner-name]
count number
day-of-month {day-number [..day-number]|all}
description description-string
end-time [date | day-name] time
hour {hour-number [..hour-number] | all}
3HE 18197 AAAB TQZZA
© 2022 Nokia.
Use subject to Terms available at: www.nokia.com/terms/.
305
SPACER TEXT