Helius
2020-07-03 0fabc4bdd5add597e9c29e966005602e11e06fca
src/main/java/com/xcong/excoin/quartz/job/NotionalPoolingJob.java
@@ -1,6 +1,7 @@
package com.xcong.excoin.quartz.job;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**
@@ -13,4 +14,19 @@
@Component
@ConditionalOnProperty(prefix = "app", name = "block-job", havingValue = "true")
public class NotionalPoolingJob {
    @Scheduled(cron = "0 5/30 * * * ? ")
    public void poolUsdtEth() {
    }
    @Scheduled(cron = "0 2/8 * * * ? ")
    public void usdtEthPoolCheck() {
    }
    @Scheduled(cron = "0 2/30 * * * ? ")
    public void poolEth() {
    }
}