問題描述 導(dǎo)出Excel php://output 直接返回response 第一次請(qǐng)求OK, 再請(qǐng)求第二次就報(bào)錯(cuò)了 程序代碼 header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); header("Content-Disposition: attachment;filename=".$Ex...
我期望使用數(shù)據(jù)庫(kù)管理定時(shí)任務(wù),這樣后臺(tái)新增任務(wù)的時(shí)候,不用每次到服務(wù)器重啟web服務(wù) 我期望使用數(shù)據(jù)庫(kù)管理定時(shí)任務(wù),這樣后臺(tái)新增任務(wù)的時(shí)候,不用每次到服務(wù)器重啟web服務(wù),但是我不太清楚 https://github.com/walkor/crontab 任務(wù)組件會(huì)出現(xiàn)什么意外的問題 我的解決方案 1、我在Task進(jìn)程管理中 每隔10秒都去掃描數(shù)據(jù)庫(kù),而且每次都重新 new Crontab();任務(wù)可以正常執(zhí)行,但是...