Sleep function on php
问题 As a possible alternative to using cron jobs, I found the sleep function. I have never used this before. If I tell my script to run inside a kind of loop, and inside that loop I have an instruction like this # sleeps for 86400 seconds or one day sleep(86400); will my script be launched again after 1 day? even if don't access it on my web browser again within that period? I think is not possible, but I'm here to ask an expert about it. 回答1: The main problem with using PHP this way is, in my