Davidliu 3 mesiacov pred
rodič
commit
330bdba6c3
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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()