---
title: "spring quartz的配置"
author: "hao0610"
date: "2011-07-28T16:38:42Z"
tags: []
categories: ["编程语言"]
slug: "spring-quartz"
draft: false
lastmod: "2011-07-28T16:39:46Z"
id: 1134958
url: "https://hao0610.iteye.com/blog/1134958"
---

\[color=indigo]当要在某个时间自动执行某个方法，就可以用到quartz 。\[/color] \[color=indigo]这里介绍使用spring集成quartz\[/color] \[code="xml"] //当com.task.Test1中引用到了其它层的类，可以在这添加。 Test1Task //execute是com.task.Test1类里面要执行的方法。 execute 59 59 11 ? * MON 0 0 12 * * ? 0 0/5 14 * * ? --&gt; \[/code]