When used with the -t option, the utility will configure the system to power-on at the specified date and time. This is usefule for specifying that the sysetm should be restarted at 6 AM on Monday morning, for example.
When used with the -d option, the utility will treat the specified time as a delta from the present. This is useful for specifying that the system should be restarted in 2 days, for example.
Times for the -t and -d options should be specified in the following format:
Y<year>M<month>D<day>h<hour>m<minute>s<second>
The month, if specified, should be in the range of 1-12.
The day, if specified, should be in the range of 1-31.
The hour, if specified, should be in the range of 0-23.
The minute and second, if specified, should be in the range of 0-59.
For the -t option:
Year, month, and day default to the current date if not specified.
Hour, minute, and second default to 0 if not specified.
For the -d option:
Year, month, day, hour, minute, and second default to 0 if not specified.
When used with the -m option, the utility will print the maximum amount of time in the future that the power-on time can be set (in days). This option cannot be used with any others.
When used with the -s option, the utility will shut down the system with shutdown -h now after the power-on time has been set. If the utility is unable to set the power-on time for any reason, the system will not be shut down.
1.3.8