Date and Time Commands
Page 352 7750 SR OS Basic System Configuration Guide
lifetime
Syntax lifetime {seconds | forever}
Context config>cron>action
Description This command configures the maximum amount of time the script may run.
Parameters seconds — Specifies the maximum amount of time to keep the results from a script run.
Values 1 — 21474836
Default 3600 (1 hour)
forever — Specifies to keep the results from a script run forever.
max-completed
Syntax max-completed unsigned
Context config>cron>action
Description This command specifies the maximum number of completed sessions to keep in the event execution
log. If a new event execution record exceeds the number of records specified this command, the
oldest record is deleted.
The no form of this command resets the value to the default.
Parameters unsigned — Specifies the maximum number of completed sessions to keep in the event execution log.
Values 0 — 255
Default 1
results
Syntax [no] results file-url
Context config>cron>action
Description This command specifies the location where the system writes the output of an event script’s
execution.
The no form of this command removes the file location from the configuration.
Parameters file-url — Specifies the location where the system writes the output of an event script’s execution.
Values file url: local-url | remote-url: 255 chars max
local-url: [cflash-id/][file-path]
remote-url: [{ftp://} login:pswd@remote-locn/][file-path]
remote-locn [ hostname | ipv4-address | [ipv6- address] ]
ipv4-address a.b.c.d
ipv6-address - x:x:x:x:x:x:x:x[-interface]