PHP script to execute at certain times

后端 未结 8 1882
死守一世寂寞
死守一世寂寞 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:35

    If you are running on Linux, then you could have a cron job.

    If you are on Windows, then use Task Scheduler.

    If you are in a hosted environment, you need to check to see if either is allowed.

提交回复
热议问题