🔨 定时执行.
This commit is contained in:
@@ -31,6 +31,10 @@ public interface Const extends com.orion.lang.constant.Const, FieldConst, CnCons
|
||||
|
||||
Integer DEFAULT_VERSION = 1;
|
||||
|
||||
Long SYSTEM_USER_ID = 0L;
|
||||
|
||||
String SYSTEM_USERNAME = "system";
|
||||
|
||||
String ERROR_LOG = "error.log";
|
||||
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ public interface FieldConst {
|
||||
|
||||
String TOKEN = "token";
|
||||
|
||||
String SEQ = "seq";
|
||||
|
||||
String PATH = "path";
|
||||
|
||||
String ADDRESS = "address";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.orion.ops.framework.banner.configuration;
|
||||
|
||||
import com.orion.ops.framework.banner.core.BannerApplicationRunner;
|
||||
import com.orion.ops.framework.banner.core.runner.BannerApplicationRunner;
|
||||
import com.orion.ops.framework.common.constant.AutoConfigureOrderConst;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.orion.ops.framework.banner.core;
|
||||
package com.orion.ops.framework.banner.core.runner;
|
||||
|
||||
import com.orion.lang.utils.Threads;
|
||||
import com.orion.lang.utils.ansi.AnsiAppender;
|
||||
@@ -47,7 +47,7 @@ public class OrionQuartzAutoConfiguration {
|
||||
* @param schedulerFactoryBean 调度器工厂
|
||||
* @return 调度器
|
||||
*/
|
||||
@Bean(initMethod = "start")
|
||||
@Bean
|
||||
public Scheduler scheduler(SchedulerFactoryBean schedulerFactoryBean) {
|
||||
// 获取 scheduler
|
||||
Scheduler scheduler = schedulerFactoryBean.getScheduler();
|
||||
|
||||
Reference in New Issue
Block a user