1
Completed

Cool down period as a variable or set from within a task

Have profile "cool down" time be specified from a global variable. Something like ...

Tasker Function - Set Profile Cool Down Period - Select Profile (from helper list) for Cool Down Period. - Set Cool Down Time Period (from helper)

This can be useful when using "If" statements in specific tasks for profiles where collision or priority levels can cause conflicts.

Example:

Profile - "Remind me to Call Mom Back"- Missed Call Notification from Mom

Task - Remind Me

IF - I'm in a %Meeting (true), Set Cool Down Period for 2 Hours for profile "Remind me to Call Mom Back"

Else IF  %Meeting (false or isn't set) Set Cool Down Period for 5 mins.

End IF

This way every time Mom calls, you can get a reminder every 5 mins to call her back, Except if you're in a meeting but continue to get reminders every 5 mins after the meeting without having to set multiple profile active, not active profiles. Yes, you could you also add a %Meeting context but then the profile will either not become active if you get the text while in a meeting or for example if you want to get the reminder every 30 mins if you're walking the dog or something.

This helps alleviate multiple profiles or adding tons of contexts which can interfere with each other or having to deal with various "Profile Status" changes which can get tricky if your tasks turns one off but the follow up Task to re-enable it doesn't run because another context wasnt active to re-enable the profile, etc.

1 reply

You could simply store the last time it happened in a variable and then in the task Stop the task if enough time hasn't passed yet :)