Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had a requirement to send the notification to friends mobiles depending on the users time zones. I will be having the timezones in my application database in the form of UTC+5:30, some thing like this. there will be users from different time zones. So, i need to send the notificatons like the birthday notifications of user mobiles to his friends in their respective time zones.

How can i achieve this functionality with out using schedulers.? Is there any other alternative other than Schedulers

For Example 1. 3 users A , B, C, and all 3 are friends to each other and each user are in different time zones consider A in India, B in US and C in Europe. 2. Let's say on 21-08-2014 is A's birthday and i should be sending an birthday notification to B and C on 21-08-2014 at 00:01 (12 'o clock in the night) and that notification should reach B and C as per their respective time zones but not as per A's time zone. So, this is the requirement of sending push notifications as per the users time zone.
Posted

1 solution

Here is what you need:

1. Get user time zones for all users.
2. Have a windows service/scheduled task that looks for users that have birthday at a given day. This check must ensure time zones are catered for.
3. Send notifications using web service to mobile devices from your windows service.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900