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?
-a
option was useful for my case. Adding this option will append to a log file that you specify instead of overwriting the old log file. Example:wget https://website/to/data1.zip -a data.wget.log.report &
wget https://website/to/data2.zip -a data.wget.log.report &