CL Command Reference - CHGPWRSCDE
CL Command List > CHGPWRSCDE Reference
Description:
The Change Power On/Off Schedule Entry (CHGPWRSCDE) command is used to change the system¡¯s power on/off schedule. You can change power on or power off default values for the days of the week or change the values for a particular day. You can also change or set the time the system sends a message that warns users of an impending power off. The changes you make in the power on/off schedule are effective immediately.
Restrictions:
1. To use this command, you must have all object (*ALLJOB) and security administrator (*SECADM) special authorities.
Examples:
Example 1: Changing the Schedule For An Entire Week
CHGPWRSCDE DAY(*ALL) PWRONTIME(0800) PWROFFTIME(1800)
CHGPWRSCDE DAY(*SAT) PWRONTIME(*NONE) PWROFFTIME(*NONE)
CHGPWRSCDE DAY(*SUN) PWRONTIME(*NONE) PWROFFTIME(*NONE)
These commands set the power on and power off values for an entire week.
Example 2: Changing the Power-Off Time
CHGPWRSCDE DAY(¡¯01/22/90¡¯) PWROFFTIME(2000)
CHGPWRSCDE DAY(¡¯01/22/90¡¯) PWROFFTIME(2000) PWRONTIME(*SAME)
Either of these commands is used to set the power-off time to 8 p.m. on January 22, 1990.
Example 3: Changing the Power-On Time
CHGPWRSCDE DAY(012590) PWRONTIME(060000) PWROFFTIME(*NONE)
This command sets the power-on time to 6 a.m. for January 25, 1990 and sets no power-off time.
Example 4: Changing Back to the Defaults
CHGPWRSCDE DAY(012590) PWROFFTIME(*DFT) PWRONTIME(*DFT)
This command sets the power on and off times for January 25, 1990 back to the defaults for that day of the week.