Commit d6cbcf8d by youling Committed by chenzg

定时器

parent fae33e2a
......@@ -91,9 +91,9 @@ public class AttendanceTaskTiming{
@Scheduled(cron = "0 */2 * * * ?")
// @Scheduled(cron = "0 */2 * * * ?")
// @Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
// @Scheduled(cron = "0 0 6,20 * * ?")
@Scheduled(cron = "0 0 6,20 * * ?")
public void AttendanceTask() throws ParseException {
boolean implement = true;
......
spring:
profiles:
active: test
# active: '@environment@'
\ No newline at end of file
# active: test
active: '@environment@'
\ No newline at end of file
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