wait until, wait until countdown
The program will sleep until a specific target date (and time) has been reached. 00:00:00 is assumed if no time is specified. This feature is useful to schedule tasks at fixed time intervals. Example: Scheduling database downloads every morning at 07:30, and the data is avaiable when you are in the office. The difference to sleep until() and sleep until countdown() is that user interaction (any key pressed) stops waiting and execution continues immediately.
1
No. | Type | Description |
---|---|---|
1 input |
date | Target date / time Waiting takes place until specified date and time has been reached |
2 input |
string | Prompt Prompts a message that waiting is in progress |
Type | Description |
---|---|
string | Time in seconds Entered character, or blank string if no key has been pressed to stop waiting. |
wait until countdown ("07:30", "Wait until 07:30. Press any key to coninue immediately");
Software will display a down-counting number on the same row
wait
wait countdown
sleep until
sleep until countdown
input quick