You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# cron 表达式由五部分组成:分 时 天 月 周 # 分 :从 0 到 59 # 时 :从 0 到 23 # 天 :从 1 到 31, 字母 L 可以表示月的最后一天 # 月 :从 1 到 12, 可以别名: jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov" and "dec"
# 周 :从 0 到 6, 0 表示周日, 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 = fillSubject,clearRubbish,backup
# 每天凌晨2点同步一次, 填充项目表
fillSubject.cron = 0 2 * * *
fillSubject.class = com.dsideal.baseService.Cron4j.FillSubjectAction
fillSubject.daemon = true
fillSubject.enable = true
# 每天凌晨2点执行一次
clearRubbish.cron = 0 2 * * *
clearRubbish.class = com.dsideal.baseService.clearRubbish.clearRubbishAction
clearRubbish.daemon = true
clearRubbish.enable = true
# 每天凌晨2点执行一次, 备份数据库
backup.cron = 0 2 * * *
backup.class = Backup.BackupAll
backup.daemon = true
backup.enable = true