Page 1 of 1

two plugin rsync backup stops after first

Posted: 12 Dec 2013 11:31
by rcpa0
start -> plugin rsync 1 -> plugin rsync 2 -> notify done

after rsync 1, rsync 2 never runs.

Re: two plugin rsync backup stops after first

Posted: 12 Dec 2013 18:57
by Martin
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

Re: two plugin rsync backup stops after first

Posted: 13 Dec 2013 17:10
by MURTUMA
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.

Re: two plugin rsync backup stops after first

Posted: 14 Dec 2013 15:03
by Martin
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