I have a class called task which is as:
public class task {
int id;
Date dueDate;
int treshold;
}
treshold is how much hour before dueDate user want to get notification in terms of hour. I created a quartz job which starts every hour and should get all task which are as follows
now > dueDate-treshold
How can I do that?