设定每天凌晨3点转cminmsg消息

This commit is contained in:
zhouxiunai
2018-12-30 22:51:42 +08:00
parent 695fff6b22
commit b20dd213d1
2 changed files with 3 additions and 3 deletions
@@ -25,7 +25,7 @@ import com.gzzn.omms.msgexchangeapi.entity.CminmsgHst;
*
*/
@Component
//@Async
@Async
public class CminmsgsHisScheduled {
@Autowired
@@ -36,7 +36,7 @@ public class CminmsgsHisScheduled {
private static Logger logger = LoggerFactory.getLogger(CminmsgsHisScheduled.class);
//@Scheduled(cron = "${scheduled.cminmsgHisCron}")
@Scheduled(cron = "${scheduled.cminmsgHisCron}")
public void scheduled()
{
logger.info("开始cminmsgs消息转历史..");