Calling A PHP Function Every Second

后端 未结 2 2007
面向向阳花
面向向阳花 2021-01-06 07:20

Is there a way to execute a function at regular interval?

I have a database table and I need to know when an entry is added or removed. The logic am trying to use is

2条回答
  •  无人及你
    2021-01-06 07:59

    Use this:

    set_timeout_limit(0)
    

    http://se.php.net/manual/ru/function.set-time-limit.php

提交回复
热议问题