Browse Source

Merge pull request #281 from qiaozhanwei/branch-1.0.2

Scheduled scheduling, use scheduler-time
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
500509e29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      escheduler-common/src/main/java/cn/escheduler/common/utils/placeholder/BusinessTimeUtils.java

4
escheduler-common/src/main/java/cn/escheduler/common/utils/placeholder/BusinessTimeUtils.java

@ -54,11 +54,11 @@ public class BusinessTimeUtils {
case SCHEDULER:
default:
businessDate = addDays(new Date(), -1);
if (businessDate != null){
if (runTime != null){
/**
* If there is a scheduled time, take the scheduling time. Recovery from failed nodes, suspension of recovery, re-run for scheduling
*/
businessDate = runTime;
businessDate = addDays(runTime, -1);
}
break;
}

Loading…
Cancel
Save