if(hour1*60+minute1<=now && now<=hour2*60+minute2)
cancel;