tangjiang 1 tuần trước cách đây
mục cha
commit
508e3358b3
1 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 8 8
      src/Hotline.Api/StartupHelper.cs

+ 8 - 8
src/Hotline.Api/StartupHelper.cs

@@ -327,14 +327,14 @@ namespace Hotline.Api
                             .WithCronSchedule("0/5 * * * * ?")
                         );
 
-                        var getOperationsJobKey = new JobKey(nameof(XingTangTelOperationSyncJob));
-                        d.AddJob<XingTangTelOperationSyncJob>(getOperationsJobKey);
-                        d.AddTrigger(t => t
-                            .WithIdentity("get-operationsxt-trigger")
-                            .ForJob(getOperationsJobKey)
-                            .StartNow()
-                            .WithCronSchedule("0/10 * * * * ?")
-                        );
+                        //var getOperationsJobKey = new JobKey(nameof(XingTangTelOperationSyncJob));
+                        //d.AddJob<XingTangTelOperationSyncJob>(getOperationsJobKey);
+                        //d.AddTrigger(t => t
+                        //    .WithIdentity("get-operationsxt-trigger")
+                        //    .ForJob(getOperationsJobKey)
+                        //    .StartNow()
+                        //    .WithCronSchedule("0/10 * * * * ?")
+                        //);
 
                         var getCallSatisfactionJobKey = new JobKey(nameof(XingTangCallSatisfactionSyncJob));
                         d.AddJob<XingTangCallSatisfactionSyncJob>(getCallSatisfactionJobKey);