Re: tasker multiple tasks problem

474 views
Skip to first unread message

TomL

unread,
May 2, 2013, 6:34:53 AM5/2/13
to tas...@googlegroups.com
In your CameraAllMove task:

Task: CameraAllMove (3)
	A1: Perform Task [ Name:Camera0Move Stop:Off Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ] 
	A2: Perform Task [ Name:Camera1Move Stop:Off Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ] 
	A3: Perform Task [ Name:CameraPicturesMove Stop:Off Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ] 
	A4: Perform Task [ Name:CameraPSMove Stop:Off Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ] 
	A5: Perform Task [ Name:CameraScreenshotsMove Stop:Off Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ] 

... bump up each of the subtask priorities to something like 8 or higher.  This way, the subtasks will have a higher priority than the master task (default is 7 I think) and therefore the subtasks will each finish before the master task runs the next step.

See here:

http://tasker.dinglisch.net/userguide/en/flowcontrol.html
http://tasker.dinglisch.net/userguide/en/tasks.html#scheduling

Tom

On Wednesday, May 1, 2013 6:40:16 AM UTC-4, techsc wrote:
Hello,

i have several task running fine separately. However, after including them all one by one in a master task, the sub tasks exit with 'ok', but incomplete.
e.g. file copy+delete are skipped.

########
Master Task: CameraAllMove
Sub Tasks:Camera1Move, Camera0Move, etc.
########
The Sub tasks contain only orders to move files from location A to location B. The Master Task just calls each Sub Task.
########


Any help appreciated!

Scott S

unread,
Jan 30, 2014, 3:06:54 PM1/30/14
to tas...@googlegroups.com
I'm running into a similar situation about running task order. I have a Profile set to execute a number of indivudal Actions (FolderSync actions). The problem I'm having is only the first Action is ever run. In reading the following from the guide...

tasks run by profiles have the priority specified in Profile Properties, the default is 5

Am I to assume that all Actions in my Profile Task have the same Priority as the Profile, and therefore, in this instance, the Profile is not waiting for the first Action to complete?

What would be the correct flow here...make individual Tasks for each FolderSync action, then set each a higher Prioity than the Profile, or could I create one Task and set it a higher Priority?

Profile: FolderSync (92)
Priority: 4 Restore: no Notification: no
Time: From 20:00 Till 01:30
State: Power [ Source:Any ]
State: Wifi Connected [ SSID:* MAC:* IP:* ]
Enter: Anon (106)
A1: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ] 
A2: FolderSync [ Configuration:SDCARD1 Package:dk.tacit.android.foldersync.full Name:FolderSync Timeout (Seconds):0 Continue Task After Error:On ] 
A3: FolderSync [ Configuration:Videos Package:dk.tacit.android.foldersync.full Name:FolderSync Timeout (Seconds):0 Continue Task After Error:On ] 
A4: FolderSync [ Configuration:TBP Package:dk.tacit.android.foldersync.full Name:FolderSync Timeout (Seconds):0 Continue Task After Error:On ] 
A5: FolderSync [ Configuration:SDCARD0 Package:dk.tacit.android.foldersync.full Name:FolderSync Timeout (Seconds):0 Continue Task After Error:On ] 

Scott Miller

unread,
Jan 30, 2014, 4:20:29 PM1/30/14
to tas...@googlegroups.com

I would suggest double checking your Folder Sync settings for the folder pairs that are not working. Tasker runs those actions fairly quickly, one after another. Folder Sync, on the other hand, accepts them from Tasker and queues them to run sequentially. How are you determining whether or not the actions ran?

Scott

Scott S

unread,
Jan 31, 2014, 9:05:33 AM1/31/14
to tas...@googlegroups.com
Thanks @Scott; I determined which FS folderpairs ran by looking in the sync history; only the first folderpair had been ran. I then adjusted the Priority of the Tasker Profile to (4) and all folderpairs did run over night. Not certain the Priority change was just a coincidence. I'll let it run automatically again today to see.

Scott Miller

unread,
Jan 31, 2014, 10:41:17 AM1/31/14
to tas...@googlegroups.com

You might still want to check your FolderSync settings for the affected folder pairs. If you lose power or go off Wi-Fi after the profile has been triggered, FS may not complete the sync job. Each folder pair can be set to work for various radio connections, and if charging. See the attached screenshots.

Scott

foldersync1_snap.jpg
foldersync2_snap.jpg
Reply all
Reply to author
Forward
0 new messages