I currently have a shell script running on a linux server which is using wget in oder to download a remote web page. This in turn is executed by a cron job which is scheduled to run at certain times.
Can someone please confirm that adding in the -q
option will not only stop all output being returned to the console, but will also stop all attempts by wget to write to the logs or to try and create a log file?
Best Answer
With
-q
option, wget itself should not output anything to either console nor the logfile specified by-o
option, except for the case described by MichaĆ. The logfile however will be created (if-o
was supplied).This however does not guarantee that no system daemons will notice the fact that wget was run - the network activity can be independently monitored by other tools.