Reputation: 5095
I need to run a scheduled task every day at 9 a.m. and 6 p.m. How can I do this? I looked into PeriodicTask
but it runs once every 30 mins. How do I achieve this task?
Upvotes: 2
Views: 1755
Reputation: 798
you can use the scheduled notification of Alarm in windows phone os7.1.
check here:http://msdn.microsoft.com/en-us/library/hh202946(v=VS.92).aspx
Upvotes: 0
Reputation: 26345
You can't. However, you can check if the time is close to 9am/6pm when the Scheduled Task is running every 30 minutes. The furthest off you'll get is 29 minutes.
Consider using a Reminder instead.
Upvotes: 2