Commit b85b09c8 authored by wujipeng's avatar wujipeng
Browse files

增加月初运维

parent 6fb95cc5
......@@ -54,7 +54,7 @@ public class InTheEarlyTask {
smsInformService.save(SmsInformEntity.builder()
.date(new Date())
.name(scheduleEntity.getName())
.num(0)
.num(1)
.phone(scheduleEntity.getPhone())
.serviceName("月初通知")
.build());
......
......@@ -27,8 +27,8 @@ public class SmsTask {
/**
* 每十五分钟执行一次
*/
// @Scheduled(cron = "0 */15 * * * ?")
@Scheduled(fixedRate = 10000)
@Scheduled(cron = "0 */15 * * * ?")
// @Scheduled(fixedRate = 10000)
public void projectRemind() {
//查询最新的一条数据
SmsInformEntity smsInformEntity = smsInformService
......
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