WAIT
Wait while system time less or equal to specified time.
Syntax
wait [ ms [ sec [ min [hours] ] ] ]
Parameters
[ ms [ sec [ min [hours] ] ] ]
- Decimals sets milliseconds, seconds, minutes and hours. Examples:
- sleep 500 ; Pause for 500 ms
- sleep 30 100 ; Pause for 100 s and 30 ms
- sleep 0 0 20 1 ; Pause for 1 hour and 20 minutes
- wait 0 0 10 8 ; Wait while system time less or equal to 8 hours and 10 minutes. At 08:10 AM next command will be performed.
Example 0x00
10
ssl 7
; Wait while time < 16:57
wait 0 0 57 16
ssl
; Wait while time < 16:58
wait 0 0 58 16
ssl
; Wait while time < 16:59
wait 0 0 59 16
ssl
; Wait while time < 17:00
wait 0 0 0 17
; Yahoo!!! Working day is over!!!
CYCLE:
on
off
goto CYCLE