stderr

  1. SpongeB0B

    output file only when STDERR exist.

    Hi everyone, I created a cron job trough crontab -e and it work line in the crontab : * * * * * myscript.sh 2>>/home/me/Desktop/errors.txt But I have a small bug, every-time it run, it generate the errors.txt (nothing inside) is there a way to generate this file only if indeed there is an...
Top