package com.xcong.excoin.quartz.job;
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
import org.springframework.scheduling.annotation.Scheduled;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* 归集定时任务
|
*
|
* @author wzy
|
* @date 2020-07-02
|
**/
|
|
@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() {
|
|
}
|
}
|