cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Notification system using timer event subcription

Highlighted
Newbie

Notification system using timer event subcription

Hi all

I have a datatable where devices are stored , i'am building a notification system where when device goes online  it will send a notification email similarly for when device went offline . The issue is the email should be send after xx minutes i.e a delay say 15 min or more  for different devices have different delay. To do this i have subcribed to timer event and timer runs for every 1 min .

 

So i have acheived the delay as nowtime >=time device went online/offline + (15 minutes delay) . when email is beingsent i'am updating some flags that this device is notified or not for online/offline . Issue here is i get notified but sometimes i got multiple notications (rare case). Is this a feasible solution for this or i should go for db instead.My datatable list isn't that big so i prefered at TW Side .

  Any thoughts on this highly appreciated.

Tags (1)
2 REPLIES 2

Re: Notification system using timer event subcription

You should have some bug on your code, I have exactly the same configuration type and it works smoothly.

Re: Notification system using timer event subcription

Thanks for the reply Carles