@Scheduled(cron=“0 0 0 ? * MON”) //每周周一0点执行
@Scheduled(cron=“0 0 1 * * *”)每天凌晨一点执行
cron使用
最新推荐文章于 2024-07-12 16:26:30 发布
@Scheduled(cron=“0 0 0 ? * MON”) //每周周一0点执行
@Scheduled(cron=“0 0 1 * * *”)每天凌晨一点执行