diff --git a/orion-ops-framework/orion-ops-spring-boot-starter-job/pom.xml b/orion-ops-framework/orion-ops-spring-boot-starter-job/pom.xml
new file mode 100644
index 00000000..6ac8024b
--- /dev/null
+++ b/orion-ops-framework/orion-ops-spring-boot-starter-job/pom.xml
@@ -0,0 +1,31 @@
+
+
+ * TODO 后面业务扩展需要加上quartz的配置 + * + * @author Jiahang Li + * @version 1.0.0 + * @since 2023/6/25 16:58 + */ +@EnableScheduling +@AutoConfiguration +public class OrionSchedulerAutoConfiguration { + + /** + * @return 调取器 + */ + @Bean + public TaskScheduler taskScheduler() { + ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler(); + scheduler.setPoolSize(4); + scheduler.setRemoveOnCancelPolicy(true); + scheduler.setThreadNamePrefix("scheduling-task-"); + return scheduler; + } + +} diff --git a/orion-ops-framework/orion-ops-spring-boot-starter-job/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/orion-ops-framework/orion-ops-spring-boot-starter-job/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports new file mode 100644 index 00000000..260d68dc --- /dev/null +++ b/orion-ops-framework/orion-ops-spring-boot-starter-job/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -0,0 +1 @@ +com.orion.ops.framework.job.config.OrionSchedulerAutoConfiguration \ No newline at end of file