Hello, I have a PHP script that I run on a server, I put it in a cron. For security and maintenance reasons I write the entire STDERR return to a file, but even though the file does not return anything it writes a "\ n" line break in the file how can I proceed? Below is the execution template I use to write STDERR to the file.
* I would like it to store only if there is a return other than "\ n"
usradm01@prod-analytics:~$ php /home/usradm01/monitoringservers.php >> /tmp/monitoring_servers_error.log 2>&1