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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -