Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.alten.altenTrip.config;
- import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.scheduling.annotation.EnableScheduling;
- @Configuration
- @EnableScheduling
- @ConditionalOnProperty(name = "scheduling.enable", matchIfMissing = true)
- public class SchedulerConfig {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement