Commit 0f022b2e authored by 陈宏杰's avatar 陈宏杰

定时任务关闭

parent bbb025c4
...@@ -75,7 +75,7 @@ public class BlackGreyListJob { ...@@ -75,7 +75,7 @@ public class BlackGreyListJob {
* 出参说明: <br> * 出参说明: <br>
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
@Scheduled(cron = "0 0 6 * * ?")//每天凌晨6点00 // @Scheduled(cron = "0 0 6 * * ?")//每天凌晨6点00 jobSwitch
public void blackListImportJob() { public void blackListImportJob() {
try { try {
...@@ -148,7 +148,7 @@ public class BlackGreyListJob { ...@@ -148,7 +148,7 @@ public class BlackGreyListJob {
* 出参说明: <br> * 出参说明: <br>
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
@Scheduled(cron = "0 */10 * * * ?") //每天10分钟扫描一次 // @Scheduled(cron = "0 */10 * * * ?") //每天10分钟扫描一次 jobSwitch
public void updateBlackListOverdueDayJob() { public void updateBlackListOverdueDayJob() {
try { try {
......
...@@ -26,7 +26,7 @@ public class BlackListImportManagerJob { ...@@ -26,7 +26,7 @@ public class BlackListImportManagerJob {
@Autowired @Autowired
private IBlackListManagerService iBlackListManagerService; private IBlackListManagerService iBlackListManagerService;
@Scheduled(cron = "0 0 4 * * ?") // @Scheduled(cron = "0 0 4 * * ?") jobSwitch
public void blackListImportJob() { public void blackListImportJob() {
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