Any output from a script run by cron will be emailed to the user running the cron script unless you (as is typical) redirect it using somthing like:
25 1 * * * /bin/elastic-backup >> /dev/null 2>&1 Or to a log file using something like this: 25 1 * * * /bin/elastic-backup >> /log/elastic-backup.log 2>&1 On Tue, 19 Sep 2017, Rich Shepard 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@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug