quartz实例以及定义时间格式
2006-09-05 16:23
267 查看
<?xml version='1.0' encoding='utf-8'?> <quartz> <job> <job-detail> <name>ScanFTPSiteJob</name> <group>DEFAULT</group> <description> A job that scans an ftp site for files </description> <job-class>ScanFTPSiteJob</job-class> <job-data-map allows-transient-data="true"> <entry> <key>FTP_HOST</key> <value>/home/cavaness/inbound</value> </entry> <!-- Other neccessary Job parameters here --> </job-data-map> </job-detail> <trigger> <simple> <name>ScanFTPSiteJobTrigger</name> <group>DEFAULT</group> <job-name>ScanFTPSiteJob</job-name> <job-group>DEFAULT</job-group> <start-time>2005-09-11 6:10:00 PM</start-time> <!-- repeat indefinitely every 60 seconds --> <repeat-count>-1</repeat-count> <repeat-interval>60000</repeat-interval> </simple> </trigger> </job> </quartz>
字段 | 允许值 | 允许的特殊字符 | ||
---|---|---|---|---|
秒 | 0-59 | , - * / | ||
分 | 0-59 | , - * / | ||
小时 | 0-23 | , - * / | ||
日期 | 1-31 | , - * ? / L W C | ||
月份 | 1-12 或者 JAN-DEC | , - * / | ||
星期 | 1-7 或者 SUN-SAT | , - * ? / L C # | ||
年(可选) | 留空, 1970-2099 | , - * / |
相关文章推荐
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz定时调度CronTrigger时间配置格式说明与实例
- Quartz.net 定时调度时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- [20150909]Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例
- Spring—Quartz定时调度CronTrigger时间配置格式的实例
- Spring—Quartz定时调度CronTrigger时间配置格式说明与实例