Hello, im fighting with dbclient to redirect the ouput of an remotely executed
command, but it seems not possible
i can redirect the stderr before the connection to the server ( for example
connection refused error ), but after it doesn't work.
Im running dbclient from an script that is
What commandline are you running? If it works by hand but
not from a script then that suggests that it might be that the
program needs a TTY to run properly - you could try running
dbclient -t in the cronjob?
Testing here redirecting output seems to work as below (the shell is
zsh). I've added -T