【发布时间】:2016-03-23 01:18:41
【问题描述】:
我正在使用 CodeIgniter,并且我有使用 curl 运行的 cron 作业,例如:
0,30 * * * * curl --silent http://example.com/cron/1
我还将会话存储在数据库中
但 session 也将 curl 存储在数据库中。
如何避免这种情况?
服务器在 Centos 6 上运行
或者我可以在不使用 curl 的情况下调用 cron 以不使用会话?
【问题讨论】:
标签: php codeigniter session crontab