CodeIgniter Cron Job on Shared Hosting?

前端 未结 4 712
暖寄归人
暖寄归人 2021-02-06 16:56

I am trying to learn how to do my first cron job using CodeIgniter. In the past, it seemed the only way to do this with CI was to use the wget command instead of

4条回答
  •  隐瞒了意图╮
    2021-02-06 17:19

    It's going to depend on your host. Cron jobs could really screw stuff up if you're not careful, so a lot of shared hosts don't allow it. You probably need to be on some virtual container (like a VPS, virtuozo, etc.) to do this. This isn't a CodeIgniter issue, but a hosting provider issue. Call them first.

提交回复
热议问题