Files
QingLong/YunXiaoTools/target/classes/cron4j.properties
2025-08-15 09:13:13 +08:00

22 lines
1.3 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# cron 表达式由五部分组成:分 时 天 月 周 # 分 :从 0 到 59 # 时 :从 0 到 23 # 天 :从 1 到 31字母 L 可以表示月的最后一天 # 月 :从 1 到 12可以别名jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov" and "dec"
# 周 :从 0 到 60 表示周日6 表示周六,可以使用别名: "sun", "mon", "tue", "wed", "thu", "fri" and "sat"
#
# 数字 n表示一个具体的时间点例如 5 * * * * 表示 5 分这个时间点时执行
# 逗号 , :表示指定多个数值,例如 3,5 * * * * 表示 3 和 5 分这两个时间点执行
# 减号 -:表示范围,例如 1-3 * * * * 表示 1 分、2 分再到 3 分这三个时间点执行
# 星号 *:表示每一个时间点,例如 * * * * * 表示每分钟执行
# 除号 /:表示指定一个值的增加幅度。例如 n/m表示从 n 开始,每次增加 m 的时间点执行
# cron4j 集成cron 只有 分 时 天 月 周 没有秒
cron4j=LingDianTask,YiDianTask
# 每天凌晨0点执行一次
LingDianTask.cron=0 0 * * *
LingDianTask.class=com.dsideal.YunXiaoTools.Cron4j.LingDianTask
LingDianTask.daemon=true
LingDianTask.enable=true
# 每天凌晨1点执行一次
YiDianTask.cron=0 1 * * *
YiDianTask.class=com.dsideal.YunXiaoTools.Cron4j.YiDianTask
YiDianTask.daemon=true
YiDianTask.enable=true