Delay Task by up to 24 hours

Learn how you can make something run later without using a long wait command

  1. joaomgcd
    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!

    You'll
    • 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


    (i) 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! :cool:

Recent Reviews

  1. William County
    William County
    5/5,
    super helpful (and needed)
  2. SirLoKi
    SirLoKi
    5/5,
    That helps a lot! Thank You!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice