two plugin rsync backup stops after first

Post your questions and help other users.

Moderator: Martin

Post Reply
rcpa0

two plugin rsync backup stops after first

Post by rcpa0 » 12 Dec 2013 11:31

start -> plugin rsync 1 -> plugin rsync 2 -> notify done

after rsync 1, rsync 2 never runs.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: two plugin rsync backup stops after first

Post by Martin » 12 Dec 2013 18:57

Hi,

Could you please post the link to the rsync plugin you are using and the flow that does not work. You can also send the flow to info@automagic4android.com so I can check if it's a problem in Automagic.
Is there anything printed in the log of Automagic or in the log of the plugin (if it has one)?

Regards,
Martin

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: two plugin rsync backup stops after first

Post by MURTUMA » 13 Dec 2013 17:10

The problem may not be in automagic but in plugins when you execute it twice in a row in fast succession. If that's the case, put a few second sleep action in between to give the first action execute itself properly before second action.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: two plugin rsync backup stops after first

Post by Martin » 14 Dec 2013 15:03

Hi,

Thanks for the flows.

Unfortunately the plugin does not allow to execute multiple concurrent rsyncs. It ignores the second rsync when the first one is still running.
The plugins don't send a notification back to Automagic when the plugin has finished execution so you have to use an action 'Sleep: XYZs' between the two actions to make sure that the first rsync has finished before the seconds rsync starts:
-trigger ...
-plugin rsync1
-sleep: 30s
-plugin rsync2

Regards,
Martin

Post Reply