Task | Command | Remarks |
| • | Schedule a reboot to occur at a specific time |
|
| and date: |
Schedule a reboot. |
| schedule reboot at hh:mm [ date ] |
| • | Schedule a reboot to occur after a delay: |
|
| schedule reboot delay { hh:mm mm } |
Use either command.
The scheduled reboot function is disabled by default.
Changing any clock setting can cancel the reboot schedule.
Scheduling jobs
You can schedule a job to automatically run a command or a set of commands without administrative interference. The commands in a job are polled every minute. When the scheduled time for a command is reached, the job automatically executes the command. If a confirmation is required while the command is running, the system automatically enters Y or Yes. If characters are required, the system automatically enters a default character string or an empty character string when no default character string is available.
Job configuration approaches
You can configure jobs in a
Table 18 A comparison of non-modular and modular approaches
Comparison item | Scheduling a job in the | |
approach | ||
|
Scheduling a job in the modular approach
Configuration method | Configure all elements in one command. | Separate job, view, and time settings. | |
|
|
| |
Can multiple jobs be | No. | Yes. | |
configured? | |||
|
| ||
|
|
| |
| No. | Yes. | |
Can a job have multiple | If you use the schedule job command | You can use the time command in job | |
commands? | multiple times, the most recent | view to configure commands to be | |
| configuration takes effect. | executed at different time points. | |
|
|
| |
| User view and system view. In the |
| |
Supported views | schedule job command, shell represents | All views. In the time command, | |
user view, and system represents system | monitor represents user view. | ||
| |||
| view. |
| |
|
|
| |
Supported commands | Commands in user view and system | Commands in all views. | |
view. | |||
|
| ||
|
|
| |
Can a job be executed | No. | Yes. | |
multiple times? | |||
|
| ||
|
|
| |
Can a job be saved? | No. | Yes. | |
|
|
|
Configuration guidelines
•To have a job successfully run a command, make sure the specified view and command are valid. The system does not verify their validity.
99