display scheduler schedule
Use display scheduler schedule to display schedule information.
Syntax
display scheduler schedule [ schedule-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
schedule-name: Specifies a schedule by its name, a case-sensitive string of 1 to 47 characters. If you do not specify this option, the command displays information about all schedules.
Examples
# Display information about all schedules.
<Sysname> display scheduler schedule Schedule name : shutdown Schedule type : Run once after 0 hours 2 minutes Start time : Tue Dec 27 10:44:42 2015 Last execution time : Tue Dec 27 10:44:42 2015 Last completion time : Tue Dec 27 10:44:47 2015 Execution counts : 1 ----------------------------------------------------------------------- Job name Last execution status shutdown Successful
Table 35: Command output
Field | Description |
---|---|
Schedule type | Execution time setting of the schedule. If no execution time is specified, this field is not displayed. |
Start time | Time to execute the schedule for the first time. If no execution time is specified, this field is not displayed. |
Last execution time | Last time when the schedule was executed. If no execution time is specified, this field is not displayed. If the schedule has never been executed, "Yet to be executed" is displayed for this field. |
Last completion time | Last time when the schedule was completed. If no execution time is specified, this field is not displayed. |
Execution counts | Number of times the schedule has been executed. If the schedule has never been executed, this field is not displayed. |
Job name | Name of a job under the schedule. |
Last execution status | Result of the most recent execution:
To view information about whether the commands in the job has been executed and the execution results, execute the display scheduler logfile command. |