Execute command as root
Posted: 13 May 2016 14:20
Does this action impose some sort of timed abort? I'm suffering from an aborting rsync command, which returns with empty stdout and stderr variables, and a zero return value, through an exception. Executing the command manually finishes successfully, running it from Automagic causes an exception after some time, with no clue for the reason. Running the Automagic action again will usually succeed - possibly because remaining rsync activity is now shorter, as part of it has already been done during the first attempt. Reading the corresponding logs also doesn't provide a clue about the reason of termination.
I could, as workaround, probably run the rsync command in the background, but shy away from the additional complexity of a separate flow with some sort of semafore trigger which picks up again after rsync has completed.
I could, as workaround, probably run the rsync command in the background, but shy away from the additional complexity of a separate flow with some sort of semafore trigger which picks up again after rsync has completed.