I have already read the following discussion, but unless I'm misunderstanding something, it doesn't address a question that I have:
https://groups.google.com/g/tasker/c/pZo93b987Ho/m/NLFvfcVnDgAJOn my Android 10 device running the latest Tasker beta, if I create a time context with a fixed interval (say, "every 2 minutes"), it properly gets triggered every 2 minutes, irrespective of whether the OS is trying to doze. This is very precise and reliable. I'm guessing that this precision and reliability might have something to do with the fact that this kind of timer is implemented via an alarm.
In any case, what I am now looking for is a way for that interval to be random, instead of a fixed number of minutes ... **and** for it not to be affected by the OS's dozing behavior.
If I just create a task which loops forever with a "wait" of a random interval within each loop, this task is indeed subject to doze constraints, and the wait time might end up being a lot longer than the calculated random value.
Is there any way in Tasker that I can specify a random timer that is precise and unaffected by doze procedures?
Thank you in advance for any suggestions.