Quantcast
Channel: Flightradar24 Forum
Viewing all articles
Browse latest Browse all 5745

[bug report] Cron is too much verbose.

$
0
0
Concerning raspberrypi-stable deb package.
Crons scripts should not return any standard infos, but only error!

Actually we have apt-get stdout.

Add -q2 to apt-get commands.

Code:

apt-get update -y -q2
apt-get install -y -q2 fr24feed

Do not use echo. (Only for errors!).

Why? Because we receive stdout/stderr by mail, and we want only to receive a mail where there is an error.

Viewing all articles
Browse latest Browse all 5745


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>