![Alcatel-Lucent 7950 XRS Series Configuration Manual Download Page 279](http://html1.mh-extra.com/html/alcatel-lucent/7950-xrs-series/7950-xrs-series_configuration-manual_2892149279.webp)
System Management
7950 SR OS Basic System Configuration Guide
Page 279
CRON
The CRON command supports the Service Assurance Agent (SAA) functions as well as the ability
to schedule turning on and off policies to meet “Time of Day” requirements. CRON functionality
includes the ability to specify the commands that need to be run, when they will be scheduled,
including one-time only functionality (oneshot), interval and calendar functions, as well as where
to store the output of the results. In addition, CRON can specify the relationship between input,
output and schedule. Scheduled reboots, peer turn ups, service assurance agent tests and more can
all be scheduled with Cron, as well as OAM events, such as connectivity checks, or
troubleshooting runs.
CRON elements include:
•
•
•
•
•
Action
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.
CLI Syntax:
config>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
:
config>cron# action test
config>cron>action# results ftp://172.22.184.249/./sim1/test-
results
config>cron>action# no shut
The following example shows a script named “test” receiving an action to store its results in a file
called “test-results”:
A:sim1>config>cron# info
----------------------------------------------
script "test"
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...