1. Are you ready for the Galaxy S20? Here is everything we know so far!

Tasker for scheduled browser refresh unpredictable

Discussion in 'Android Apps & Games' started by Nerdgirllondon88, Apr 3, 2016.

  1. Nerdgirllondon88

    Thread Starter

    So I created a profile with a task to open a specific website on a regular basis.

    The reason being is I want to stay logged into a website profile th a times out after 20 minutes.

    I have added a 'write file' task which adds the day and time to a text file every time performs this task so I can check it is performing. Which seems to works well.

    Problem is it appears sometimes it works sometimes it doesn't .. for example it works for a while then stops. Then I test it and it works fine for a while then stops again.

    I used the profile "time" , and put it as repeating every 15 mins. All day. Then added the task.

  2. Welcome to Android Forums.

    How long is "a while"?
    When setting the condition ... does it have only repeat specified with no start or end time?

    ... Thom
  3. I have run this one for the last three hours and a half with no problem ...

    Profile: _test
    Time: Every 2m
    Enter: Anon
    A1: Flash [ Text:-- %TIME -- Long:On ]

    ... Thom
    #3 Thom, Apr 3, 2016
    Last edited: Apr 3, 2016
  4. electricpete

    electricpete Android Expert

    If you are on marshmallow, go to android settings and exclude tasker from "battery optimisation" (doze)
    Thom likes this.
  5. Nerdgirllondon88

    Thread Starter

    Thanks for your replies. Just to answer some of your questions. I'm on kitkat not marshmallow. The profile works for about 2 hours then stops.

    Profile: Launch url repeat
    Time: Every 15m
    Enter: Lauch Url
    A1: Launch App [ App:Chrome Data:http://www.(website).com/Android/
  6. Nerdgirllondon88

    Thread Starter

    I think it does have something to do with the phone dozing off, but there is no way to change power settings.

    I have used macrodroid to schedule the phone to stay awake continuously, but doesn't seem to work indefinatey. Plus I thought with Android the system can force tasks to override sleep? That is partly why tasker works better than anything is ios because ios can't do that.
  7. electricpete

    electricpete Android Expert

    Are you on marshmallow (Android 6.0+)? If yes, then it is in the system settings somewhere. For me (nexus 6 running 6.0.1), it is: apps /gear-icon / battery optimization

    Also (regardless of android versions) there are a few settings within tasker itself that help prevent it from getting killed on low memory (mostly for older phones...although I had problems with tasker getting killed on my S4 running lollipop.... confirmed it in the event log "restart monitor service"). In tasker menu look at Preferences....select monitor tab...then look at outings for "run in foreground", "notification icon" and "reliable alarms" (press the ? for more info about these options)
    #7 electricpete, Apr 4, 2016
    Last edited: Apr 4, 2016


Tasker Forum


⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

February 15, 2020
Last Updated

Share This Page