This commit is contained in:
shuzheng 2016-12-07 17:39:15 +08:00
parent 3e52ce9342
commit 034b999667
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import org.springframework.stereotype.Component;
@Component
public class TestTaskImpl implements TestTask {
//@Scheduled(cron = "0 12 17 07 12 ?") 12月7日17点12分0秒执行
@Scheduled(cron = "0 0/1 * * * ?")
@Override
public void test() {