Trigger for SMBSync2 task
Posted: 26 Dec 2018 18:30
I'm trying to figure out how to run a scheduled task in SMBSync2 via Automagic but need some help. The developer of that app told me to refer to #5 (Starting from other applications) here, but I still couldn't get it working. I disabled auto sync in the task, since it looks like the instructions are saying to do so (though I tried with it enabled as well), and set up an Automagic action as follows:
Action Type: Send Broadcast (I'm on Android 8, so according to the instructions I should actually be using Send Activity, but there is no such action in Automagic)
Action: com.sentaroh.android.SMBSync2.ACTION_START_SYNC (I also tried ACTION_SYNC since when I open the "select action" dialog there's "android.intent.action.SYNC" but no START_SYNC)
Extras: putString("SyncProfile", "Pictures Sync"); (I wasn't sure at first what to put here, as the instructions you linked weren't clear and just said "test, test" and "prof1, prof2" for the second part, but figured it out looking in Automagic help)
Any help appreciated, really want to get this working.
Action Type: Send Broadcast (I'm on Android 8, so according to the instructions I should actually be using Send Activity, but there is no such action in Automagic)
Action: com.sentaroh.android.SMBSync2.ACTION_START_SYNC (I also tried ACTION_SYNC since when I open the "select action" dialog there's "android.intent.action.SYNC" but no START_SYNC)
Extras: putString("SyncProfile", "Pictures Sync"); (I wasn't sure at first what to put here, as the instructions you linked weren't clear and just said "test, test" and "prof1, prof2" for the second part, but figured it out looking in Automagic help)
Any help appreciated, really want to get this working.