mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
943a8c9c81
commit
66ca35b6a4
@ -33,7 +33,7 @@ public class CronTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void customCronTest() {
|
||||
CronUtil.schedule("*/2 * * * * *", (Task) () -> Console.log("Task excuted."));
|
||||
CronUtil.schedule("*/2 * * * * *", (Task) () -> Console.log("Task executed."));
|
||||
|
||||
// 支持秒级别定时任务
|
||||
CronUtil.setMatchSecond(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user