Hello
I have a while loop in PHP, I would like to loop the while loop once every 20 seconds, how?
Thank you
Hello
I have a while loop in PHP, I would like to loop the while loop once every 20 seconds, how?
Thank you
Leave this file running in one Cron and seven times it to run every 20 seconds
So solve your problem:
for ($i = 1; $i <= 20; $i++) {
sleep(20000);
}