Query: time_sleep_until
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TIME_SLEEP_UNTIL(3) 1 TIME_SLEEP_UNTIL(3) time_sleep_until - Make the script sleep until the specified timeSYNOPSISbool time_sleep_until (float $timestamp)DESCRIPTIONMakes the script sleep until the specified $timestamp.PARAMETERSo $timestamp - The timestamp when the script should wake.RETURN VALUESReturns TRUE on success or FALSE on failure.CHANGELOG+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms. | | | | +--------+---------------------------------------------------+ERRORS/EXCEPTIONS If the specified $timestamp is in the past, this function will generate a E_WARNING.EXAMPLESExample #1 A time_sleep_until(3) example <?php //returns false and generates a warning var_dump(time_sleep_until(time()-1)); // may only work on faster computers, will sleep up to 0.2 seconds var_dump(time_sleep_until(microtime(true)+0.2)); ?>NOTESNote All signals will be delivered after the script wakes up.SEE ALSOsleep(3), usleep(3), time_nanosleep(3), set_time_limit(3). PHP Documentation Group TIME_SLEEP_UNTIL(3)
| Related Man Pages | 
|---|
| set_time_limit(3) - php | 
| idate(3) - php | 
| date_sunset(3) - php | 
| date_sunrise(3) - php | 
| localtime(3) - php | 
| Similar Topics in the Unix Linux Community | 
|---|
| Bash script for searching a string | 
| How to get a filename modified by attaching modified timestamp | 
| SCP and then touch .done file | 
| FTP search ,grep using perl | 
| Sleep command |