You can not. The OS will run the task whenever it'll think it's runnable ( e.g. Not in power saver ). Even you can not be sure it'll runn at all.
How Can I Reduce The Default Time of The Scheduled Interval of the Background Agent in Windows Phone 8?
-
04-07-2023 - |
Question
I have an issue with the periodic task of the background agent in windows phone 8.
I want to reduce the default Time(30 Mins) of the Scheduled Interval.
How can i make that ?!!
Thanks in Advance.
Solution
OTHER TIPS
There is no way to configure the period. What you can do is - write the last time the agent ran into a file. When the agent runs again, check the file to decide whether you should just exit or do the desired work.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow