Commit 6e0d7a8d authored by 郝彦辉's avatar 郝彦辉

黑灰名单2020.04.28_02, 打开定时任务

parent eba3113b
...@@ -74,7 +74,7 @@ public class BlackGreyListJob { ...@@ -74,7 +74,7 @@ public class BlackGreyListJob {
* 出参说明: <br> * 出参说明: <br>
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
//@Scheduled(cron = "0 0 6 * * ?")//每天凌晨6点00 @Scheduled(cron = "0 0 6 * * ?")//每天凌晨6点00
public void blackListImportJob() { public void blackListImportJob() {
try { try {
...@@ -188,7 +188,7 @@ public class BlackGreyListJob { ...@@ -188,7 +188,7 @@ public class BlackGreyListJob {
* 出参说明: <br> * 出参说明: <br>
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
//@Scheduled(cron = "0 */10 * * * ?") //每天10分钟扫描一次 @Scheduled(cron = "0 */10 * * * ?") //每天10分钟扫描一次
public void updateBlackListOverdueDayJob() { public void updateBlackListOverdueDayJob() {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment