简体   繁体   English

如何使用Quartz库每天在XX:XX处安排从日期X1 / Y1 / Z1到日期X2 / Y2 / Z2的某些任务?

[英]How can I use Quartz library to schedule some task from date X1/Y1/Z1 to date X2/Y2/Z2 at XX:XX every day?

I have been looking for an example of how to use the Quartz library in this particular situation. 我一直在寻找一个在这种特殊情况下如何使用Quartz库的示例。 I have found examples for Quartz 1 but I am using the latest version 2.2.1. 我已经找到了Quartz 1的示例,但是我使用的是最新版本2.2.1.

For example, I wish to schedule an action every day at 08:00 AM between 01/03/2015 and 25/05/2015 . 例如,我希望在2015年1月3日至2015年5月25日之间的每天08:00 AM安排一次操作。 A plus would be to even add every day, but the weekends . 一个加号是每天甚至每个周末都加

This action could be anything, to simplify lets assume something silly like pinging a server, by calling the method ping() . 为简化起见,此操作可以是任何操作,可以通过调用ping()方法来假设像对服务器执行ping操作那样愚蠢的操作。

此模式将执行您想要的操作, 除了它将执行到5月底

0 0 8 ? 3,4,5 2015 MON-FRI

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么 x *= (y1*y2*y3)/z1 没有给出与 JAVA 中的 x = x * (y1*y2*y3)/z1 相同的答案 - Why is x *= (y1*y2*y3)/z1 not giving the same answer as x = x * (y1*y2*y3)/z1 in JAVA 如何划分字符串(x1,y1)(x2,y2)格式 - How to divide string (x1,y1)(x2,y2) format 两点之间的随机位置(x1,z1,x2,z2) - Random location between two points (x1, z1, x2, z2) 如何重新格式化 GetVertices 以返回 (x1,y1,0), (x2,y2,0), (x3,y3,0);? - How to re format GetVertices to return (x1,y1,0), (x2,y2,0), (x3,y3,0);? 按钮无法绘制具有坐标(x1,x2,y1,y2)的折线图 - Button not working to draw line graph having its coordinate (x1, x2, y1, y2) 如果我们知道距离x1,y1,y2,则计算x2 - Calculate x2 if we know distance, x1, y1, y2 在java中以给定速度以直线将对象从点(x1,y1)移动到点(x2,y2)的方法 - Method to move an object from point(x1,y1) to point(x2,y2) at a given speed in a straight line in java 我如何快速((A ^ z1 * y ^ z2)mod P)mod Q - how can i make fast ((A^z1 * y^z2) mod P) mod Q 如何确定百万数据点中的哪些点 (x,y) 位于矩形 (x1, x2, y1, y2) 所描述的区域内? - How to determine which points (x,y) out of million data points lie inside the area described by a rectangle (x1, x2, y1, y2)? 在X1 y1 X2 y2形式的10,000个点的文件中,如何检测至少四个正方形? 爪哇 - In a file of 10,000 points of the form X1 y1 X2 y2 ,,, How to detect at least 4 which form a square ? java
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM