> This way the task will always be running actually is there a way to execute or evoke it through a profile.
The way i understand the "every x min" context is if it set for every 3 min then it will fire in minutes multiples of 3 IE 1.03, 1.06 1.09 etc. So... without the ability for a every 1 min context I believe ...
Without doing all the math I think the only way would be with 21 profiles linked to the same task. With time contexts from every 2 min to every 9 min and then all the prime numbers up to 59. I am no mathematician but it would be something like that.. so I am not sure what would be more CPU friendly.
so I am not sure what would be more CPU friendly.
Of course you will also have many task collisions for tasker to deal with as well so i would imagine the 1 minute wait approach would be the best
Just guessing.....
Enter -> Beep!
> Context event: Variable set: %TIME
>
> Enter -> Beep!
Does that work on your device??
AFAIK... you can not use %TIME in a context...
... oops.
Profile: Time Test (133)
State: Variable Value [ Name:%Time Op:Doesn't Match Value:%TIME ]
Enter: Time Test (95)
A1: Variable Set [ Name:%Time To:%TIME Do Maths:Off Append:Off ]
A2: Write File [ File:Recorded/test.txt Text:%Time Append:On Add Newline:On ]
Matt
Matt
Thanks :-)
Set a repeat period of 2 minutes (the minumum allowed) and specify a task like this:
Perform Task, TaDa
Wait 1 Minute
Perform Task, TaDa
Create a new task, in this example called repeat test.
A1: Music Play [ File:Ringtones/hangouts_message.ogg Start:0 Loop:Off Stream:2 ]
First action, media, music play (file path to desired media)
A2: For [ Variable:%wait Items:1:60 ]
I have been trying to use a for loop successfully for sometime now to be honest, and have yet to really play with them or understand them (feel free to jump in here Matt!) but I think this its basically setting a variable to values 1 through 60. I don't know exactly for sure myself, but I am just playing around with what others have suggested previously.
A3: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
I believe this action waits one second for each %wait variable. Again, just playing around and while testing it seemed to work.
A4: End For
Action, task, end for.
A5: Goto [ Type:Action Number Number:1 Label: ]
Action, task, Goto.
Profile: Every Minute Test (320)
Time: Every 2m
Create a new profile, context time. Deselect to, and from boxes, select repeat only, time 2 minutes. Profile name in this example, every minute test.
Enter: Repeat Test (319)
The task created before creating the profile is selected as the entry task.
> You can do it with two profiles each with repeating 2 minute contexts. Just have one with no range specified (uncheck from and to) and the other range from 00:01 to midnight.
Nice Matt... I have not seen that approach before... I will give. It a try.. :)
Thanks, Rich..
> > You can do it with two profiles each with repeating 2 minute contexts. Just have one with no range specified (uncheck from and to) and the other range from 00:01 to midnight.
>
> Nice Matt... I have not seen that approach before... I will give. It a try.. :)
As I was expecting, It works perfectly ... I believe this is exactly what the OP was looking for, slightly less complicated than my suggestion :)
I have found the timing more reliable than what I suggested, also decreased battery usage. It appears that repeating the same task and waiting is a bigger drain than just initiating the task without the wait.
... makes sense.
Perform Task, TaDa
Wait 1 Minute
Perform Task, TaDa
So, Saad...
You must create a task that performs your desired action, what are you looking to do?
Really?!? That's what you're going with?
Tell me what I mean to say again... because clearly you know.
... please.
If that was what I meant to have said, that is what I would have said.
However, I asked what are you looking to do so I can provide more information.
Create a new profile, context time, deselect to and from, select repeat, minimum two minutes.
1) NOW WRITE YOUR TASK ACTIONS YOU WANT IT TO DO.
2) NOW HAVE TASKER WAIT ONE MINUTE IN THE SAME TASK.
3) REPEAT STEP ONE IN THE SAME TASK!
WHAT ARE YOU LOOKING TO DO?!?