"Sometimes" – Does this mean the task is recurring? You are using
>>
, so output.out
should only grow, unless another process interferes. If there's only the trailer in output.out
, something must have truncated or deleted the file. Is output.out
an intermediate "node" in your workflow, providing data for the next step that eventually truncates the file?