Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JavascriptのsetIntervalとして、特定の時間間隔の後に特定の関数を呼び出す関数またはコードがありますか?
リクエストが完了するとPHPが終了するため、それは不可能です。
Linux レベルで cron を使用できます。
sleepループ内はおそらく最も近いものです。実際、PHP はそのように設計されていません。
sleep