0

I've made an WP app, that checks in-game events of Guild Wars two. Looking up, MSDN states that the task will be run every 30 minute. Thing is, at 30 minute, an event might already be over, is there away to make it run 5 minute, or an alternative?

All the task needs to do, it download some text from a webpage and display a notification if an event is due.

Jazerix
  • 4,729
  • 10
  • 39
  • 71

2 Answers2

1

Unfortunately, there's currently no way to make a periodic task run at shorter intervals.

The only alternative is using the push notifications, but it means that you need to host a server somewhere (or use a cloud-based service, like AppHarbor) to send the notifications.

Kevin Gosse
  • 38,392
  • 3
  • 78
  • 94
  • Well, I got MSDN, which mean I got an Azure subscription, would I be able to use one of the services they offer to do push notifications? – Jazerix Sep 01 '13 at 20:25
  • 2
    @Jazerix Yes, using Azure Mobile Services: http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-push-wp8/ – Kevin Gosse Sep 01 '13 at 21:06
0

To run more frequently then the normal background task schedule, you'd either need to "run under lockscreen" and handle it yourself, or offload the workload to a server that can create push notifications for you.

Rowland Shaw
  • 37,700
  • 14
  • 97
  • 166