Sometimes you want to run a task some time in the future but you don't want to block a task with a very long wait action. AutoTools Time to the rescue!
- Calculate the time for the delay you want
- Set that time in a Global Variable
- Use the time as a condition for a profile
STEP 1 - GET TIME 1 HOUR IN THE FUTURE
- In a new Task add an AutoTools Time action
- Use the Add Time section
- Add 1 hour to the current time as shown in the video
- Back out of AutoTools and go back to Tasker
- Add a Flash action with %atcalculateddate
- Run the task and notice that the full date and time are shown
- We only want the time so go back into the AutoTools Time action
- In Add Time set the Output Format to just HH:mm
- Go back and run the task again. You'll just get the time now.
STEP 2 - SET GLOBAL VARIABLE AND USE IT IN PROFILE
- Add a Set Variable action
- Set %DelayedTime to %atcalculateddate
- Run the task
- Go back and check that the variable was correctly set
- Create a new profile with the Time condition
- Set both the From and To times to %DelayedTime
- In the task do whatever you want. To test it lets add a simple Flash action
- Back out of Tasker to save
STEP 3 - EASY TESTING
Since waiting an hour for the task to trigger is not practical, just reduce the wait to just 1 minute
- Edit the AutoTools Time action
- Change it to just add 60 seconds to the current time
- Go back and run the task
- Check that the time was set to 1 minute from now
- Back out of Tasker again and wait at most 1 minute
- You should see the toast that the task was ran now!
This way you don't have to use long waits!