[PLUG] Suppressing shell script output to screen
Tomas Kuchta
tomas.kuchta.lists at gmail.com
Wed Sep 20 01:17:54 UTC 2017
Pipe/redirect it to /dev/null
Hope it helps,
Tomas
On Sep 19, 2017 3:05 PM, "Rich Shepard" <rshepard at appl-ecosys.com> wrote:
> I have written a short bash script to have root run sa-learn on my
> spam-uncaught file once each week. When sa-learn runs it posts a message to
> the console on the number of messages read and the number of messages added
> to the database.
>
> Where does this message appear if the script is run from cron.weekly?
> The
> sa-learn man page does not offer an option for 'quiet' output so I don't
> know if that result message can be suppressed.
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
More information about the PLUG
mailing list