How to run a CodeIgniter file through CRON?

后端 未结 6 1534
旧时难觅i
旧时难觅i 2021-01-31 00:16

I\'ve tried the following method in the past:



        
6条回答
  •  抹茶落季
    2021-01-31 00:55

    You may also like to add --spider to ignore the response. This stops the request from timing out:

    wget -O - -q -t 1 --spider http://www.example.com/cron/run
    

提交回复
热议问题