Piped stderr but mongodump stdout lines appear in error log file
I have tried the below two options in crontab
and expecting to get only stderr
in the log file. However, some non-error lines related to mongodump command in the script file appear in the log file. I have seen various posts on stderr piping here, but couldn’t get what I wanted. Where am I going wrong?
Piped stderr but mongodump stdout lines appear in error log file
I have tried the below two options in crontab
and expecting to get only stderr
in the log file. However, some non-error lines related to mongodump command in the script file appear in the log file. I have seen various posts on stderr piping here, but couldn’t get what I wanted. Where am I going wrong?
Piped stderr but mongodump stdout lines appear in error log file
I have tried the below two options in crontab
and expecting to get only stderr
in the log file. However, some non-error lines related to mongodump command in the script file appear in the log file. I have seen various posts on stderr piping here, but couldn’t get what I wanted. Where am I going wrong?
Piped stderr but mongodump stdout lines appear in error log file
I have tried the below two options in crontab
and expecting to get only stderr
in the log file. However, some non-error lines related to mongodump command in the script file appear in the log file. I have seen various posts on stderr piping here, but couldn’t get what I wanted. Where am I going wrong?
bash: piped stderr but some stdout lines appear in log file
I have tried the below two options in crontab
and expecting to get only stderr
in the log file. However, some non-error lines related to mongodump command in the script file appear in the log file. I have seen various posts on stderr piping here, but couldn’t get what I wanted. Where am I going wrong?