php - how to display loop elements with in a given time interval? -


For example, it is possible in PHP to display any loop over time : - I would like to display 1 after 5 minutes, it will display 2 Any help would be great. Thank you in advance.

cron job sample

  #! / Usr / bin / env php & lt ;? Php # This file can say, '/usr/local/bin/run.php' // code "was run from this cron" echo  

After that, a entry in the cron Add:

  * * * * * / usr / bin / php -f /usr/local/bin/run.php & amp; Gt; / Dev / null  

source:


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -