r/tasker • u/zhSHADOW Tasker Fan <3 • Oct 11 '26
Turn off "Run Exit on Startup"
I've this WiFi profile which turn off Mobile internet and Bluetooth if I'm connected to a wifi network and during disconnect it does the opposite.
Now the problem is I use google ai studio to make new project/task and copy the xml code from pc to phone via kde connected. So, when I'm inside tasker and tasker detects a new xml clipboard, tasker automatically saves everything as expected. And this runs exit task for my "WiFi" profile. Which turns on internet and bl and launches my smart watch app. It became so annoying that i turn off that profile when i do this copy/paste.
To solve that I've uncheck the "Run Exit on Startup" from the profile settings, but still it sometimes runs that exit task. Is there any way I can solve this? SO that it dosen't run my exit task during auto save?
Thanks in advance.
3
u/WakeUpNorrin Oct 11 '26
Try to add this action at the top of your exit Task
That will stop the Task if you are connected to a wifi. You may want or need to add a little wait before that action.
2
u/bbobeckyj Pixel 7 Oct 11 '26
What are the run conditions of the WiFi profile? You've attached an image with no practical information.
1
u/DifficultyCrafty7623 Oct 11 '26
I believe this is a bug in the Tasker app
1
u/Exciting-Compote5680 Oct 11 '26
You could try and see if the 'Monitor Started' event is triggered before your exit task. If so, you could set a variable to '1' when the monitor starts, and after a delay set it back to '0'. Then you could add a 'Variable Value' state context to your profile (or a condition in your task), so it only runs if the variable is 0. Don't know if it will work in this case, but I use something similar to ignore delayed Join commands during the first minutes after start up on my android TV box.