PHP script to execute at certain times

后端 未结 8 1869
死守一世寂寞
死守一世寂寞 2020-12-03 19:09

Is there a simple way to have a php script execute some html at a certain times of the day?

For example i have on my home page a header and at certain times i want t

8条回答
  •  执笔经年
    2020-12-03 19:52

    You could add a PHP script to your crontab to automatically run the script at defined intervals. From the command line, enter crontab -e to add the entry to your crontab.

提交回复
热议问题