How can I debug a PHP CRON script that does not appear to be running?

前端 未结 3 1572
庸人自扰
庸人自扰 2020-12-11 21:10

I am trying to setup a CRON job using PHP, but am not having any luck so far.

I am following this tutorial: PHP - Create a Cron Job with PHP (dead link)

I ha

3条回答
  •  半阙折子戏
    2020-12-11 21:29

    Maybe your cron daemon isn't running? The daemon "crond" have to run on startup.

    Check this with "ps -efc |grep crond"

提交回复
热议问题