locked
Could I start the Background Task immediately and perform my Background Task periodically every minute?

    Question

  • I want to perform some checking Task once per minute even if my app is in suspend mode.

    The first idea I think of is to use background task/Time Trigger. But after I read the background task code sample and whitepaper, I find that

    time trigger only accepts values greater than or equal to 15 minutes.

    My question is that could I start the background Task immediately and perform my background task periodically every minute?

    Thanks.

    Thursday, April 5, 2012 6:47 AM

Answers

All replies

  • Sorry, there is a hard limit of 15 minute intervals.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Thursday, April 5, 2012 6:38 PM
    Moderator
  • Hi,

    I will adopt the 1st question of this post:

    How can I start a time triggered task immediately? The Intervall of 15 minutes is no problem, but the task will not run immediately after registration. Insteed it needs at least 15 minutes that the Task will run for the first time.

    Greetings from germany

    Ralf

    Thursday, November 1, 2012 8:22 AM
  • But how does TimeMe application works on Windows Phone 8.1 with 1 minute interval?
    Saturday, May 3, 2014 7:10 PM
  • i am not sure what TimeMe does; but combining api's sometimes looks if background tasks run every minute; see this example http://code.msdn.microsoft.com/windowsapps/Tile-Update-every-minute-d4727620

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Saturday, May 3, 2014 7:58 PM