I have a requirement which has to show the list of trucks which have come and stayed in the location for more than 60mins.. those truck details has to be send through email to users.
This requirment is implemented but the problem i face here is lets say there are truck which T1,T2,T3 which stayed for 65mins,70mins,120mins.. My application gets refreshed every half hr.. during the first notification the three truck details are sent.. Lets say there is a new truck which is staying for more than 60mins (T4).. in the notification email as i have mentioned it as Trucks which stayed more than 60mins..
The altert has been already sent on T1,T2,T3 which should not be repeated in the next alert email.. I mean lets say i have already informed the users about the T1,T2,T3. it is of no use for them if i keep on sending the same alert on the Trucks T1,T2,T3 instead the alert should be always the trucks which are not being sent in the notification and stayed for more than 60mins..