<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ## 定時任務 ??以下以centos服務器為例。 ????????1、首先檢查下是否安裝crontab ? ? ????參考地址:[https://www.cnblogs.com/weifeng1463/p/7912541.html](https://www.cnblogs.com/weifeng1463/p/7912541.html) ????????crontab示例:https://www.cnblogs.com/studyshine/p/4157111.html ????????2、配置定時任務 ????????輸入 crontab -e? ?????????然后修改并復制以下內容進去。然后保存退出即可。 ????????\*/1 \* \* \* \* curl http://你的域名/b2c/crontab/cancle #每分鐘取消一次訂單,時間自己掌握 ????????\* \*/1 \* \* \* curl http://你的域名/b2c/crontab/complete #每小時自動完成訂單 ????????\* \*/1 \* \* \* curl http://你的域名/b2c/crontab/evaluate????#每小時自動評價訂單 ????????\* \*/1 \* \* \* curl http://你的域名/b2c/crontab/sign????????????#每小時自動簽收訂單 ????????\* \*/1 \* \* \* curl http://你的域名/b2c/crontab/remind????????#每小時自動催付款 \*/1 \* \* \* \* curl http://你的域名/b2c/crontab/pintuanCancle #每分鐘取消一次拼團,時間自己掌握 ## 任務隊列 ### 隊列說明 目前本系統使用的任務隊列為yunwuxin 提供的think-queue for ThinkPHP5.1 項目地址:https://github.com/top-think/think-queue 非常感謝yunwuxin提供的優秀的PHP隊列框架。 關于任務隊列的具體配置,請移步https://github.com/top-think/think-queue 本項目任務隊列是目前采用的是同步執行,如想更改為數據庫驅動或Redis驅動,請移步https://github.com/top-think/think-queue 查看詳細配置。 ### 監聽任務并執行 命令行模式進入項目根目錄,執行下面命令即可啟動隊列監控。 ``` php think queue:listen php think queue:work --daemon(不加--daemon為執行單個任務) ``` ### 配置文件 項目根目錄/config/queue.php ### 項目執行文件位置 項目根目錄/application/job ### 項目日志 項目根目錄/runtime/log >[danger] 注意事項: > 數據量比較大時,請調整PHP超時時間,以及php.ini的memory\_limit的值。 >
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看