关闭了定时任务的log信息
This commit is contained in:
parent
8693d1aec3
commit
604651d704
@ -20,7 +20,7 @@ public class OpsQuartzAutoConfiguration {
|
||||
@Bean
|
||||
public SchedulerManager schedulerManager(Optional<Scheduler> scheduler) {
|
||||
if (!scheduler.isPresent()) {
|
||||
log.info("[定时任务 - 已禁用][参考 https://doc.iocoder.cn/job/ 开启]");
|
||||
log.info("[定时任务 - 已禁用][开启请设置]");
|
||||
return new SchedulerManager(null);
|
||||
}
|
||||
return new SchedulerManager(scheduler.get());
|
||||
|
Loading…
x
Reference in New Issue
Block a user