Tim,
Thanks, but as I had previously mentioned, I had already taken care of that little detail.
rik.
On Mon, May 1, 2023 at 11:22 PM Tim <timfosho@xxxxxxxxx> wrote:
> After reading the responses in this thread I've adjusted it to capture the exit statusJust so I'm not a complete troll, heres your example which also appends a success/fail message :)nohup $(pg_dump ${connection_details} > something.log 2>&1 && echo "pgdump succeded" >> something.log || echo "pgdump failed" something.log) &