power_onoff.1m (2010 09)

p
power_onoff(1M) power_onoff(1M)
power_onoff 5:30 tomorrow
To make your system startup each weekday at 7:30 am and shutdown at 5:30 pm each week day, use
crontab to execute the first entry on Monday through Thursday and the second entry on Friday (see
crontab (1)).
power_onoff 7:30 tomorrow
power_onoff 7:30 Monday
To startup the system at 8:15 on January 24, use
power_onoff 0815 Jan 24
To startup the system at 5:15 on January 24, use
power_onoff 5:15 Jan 24
To startup the system at 9:30 tomorrow, use
power_onoff 9:30am tomorrow
To startup the system 24 hours from now, use
power_onoff now+1day
To shutdown the system and not start it up, use
power_onoff -n
WARNINGS
Jobs can be submitted up to 2037. If jobs were submitted any later than 2037, an error message will
display "BAD DATE".
Some UPS units limit the time that can elapse between the time the power is turned off and the time it is
turned back on. Please see your UPS documentation for information about limitations.
If the date argument begins with a number and the time argument is also numeric (and without suffix),
the time argument should be a four-digit number that can be correctly interpreted as hours and minutes.
Do not use both
next and + increment within a single power_onoff command; only the first operator
is accepted and the trailing operator is ignored. No warning or error is produced.
The power cord must be disconnected before servicing the unit.
AUTHOR
power_onoff was developed by HP.
FILES
/var/tmp/timed_off
fifo for communicating with ups_mond.
SEE ALSO
at(1), cron(1M), crontab(1), queuedefs(4), proto(4), kill(1), sam(1M), ups_mond(1M).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010