Davidliu 3 月之前
父節點
當前提交
330bdba6c3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/core/callcenter/esl/client.py

+ 1 - 0
src/core/callcenter/esl/client.py

@@ -631,6 +631,7 @@ class OutboundClient:
             self.dataHandleServer = DataHandleServer(app)
 
             self.cache_job_scheduler = BackgroundScheduler()
+            self.cache_job_scheduler.add_job(self.update_cache_job, run_date=datetime.now())
             self.cache_job_scheduler.add_job(self.update_cache_job, 'interval', seconds=60, max_instances=1)
             self.cache_job_scheduler.start()