schedule Shut Down
Causes a shutdown event to be scheduled for the supplied time. The shutdown event is scheduled and any waiting tasks are notified of the pending shutdown. This allows the tasks to react gracefully to the pending shutdown.
Parameters
time Until Shutdown
The time until the commencement of the shutdown. The default is 0 (now).