...
|
...
|
@@ -24,7 +24,7 @@ public class LuckyUserNoticeThread { |
|
|
public LuckyUserNoticeThread(){
|
|
|
|
|
|
//(1)定时任务执行时间间隔,单位为分
|
|
|
DynamicLongProperty initialDelay = DynamicPropertyFactory.getInstance().getLongProperty("drawline.luckyUserNotice.interval", 120);
|
|
|
DynamicLongProperty initialDelay = DynamicPropertyFactory.getInstance().getLongProperty("drawline.luckyUserNotice.interval", 5);
|
|
|
|
|
|
//(2)服务启动10后开始执行, 默认每隔2小时执行一次
|
|
|
Const.LUCKYUSERNOTICE_EXE.scheduleAtFixedRate(new Runnable() {
|
...
|
...
|
|