How to run a CodeIgniter file through CRON?

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

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



        
6条回答
  •  萌比男神i
    2021-01-31 00:34

    You might also want to check this out: Cron job bootstrapper

    This is a simple bootstrapper file that you can use to directly run your CodeIgniter controllers from the commandline. It’s a very easy and elegant solution for using CI controllers for cron jobs. It also supports logging.

提交回复
热议问题