QueueMetrics forum
QueueMetrics => Running QueueMetrics => Topic started by: hwjustin on December 28, 2009, 18:53:21
-
Using the instructions in the FAQ: http://queuemetrics.com/faq.jsp#faq-063-printing_pdf
I am getting an error with this script regarding the wget command:
Cannot specify both -k and -O if multiple URLs are given, or in combination with -p or -r. See the manual for details.
Any ideas on how to make this work? BTW, I'm using Gentoo and have htmldoc and nail emerged.
-
What is your exact commend line for wget?
-
I tried it again, removed the -p switch. That seems to have fixed it.
New code:
wget -nH -k -K -l 1 -O report.html "$QM_SERVER/$QM_WEBAPP/qm_rep.do?user=$QM_USER&pass=$QM_PASS&queues=$QM_QUEUE&period=$QM_PERIOD"
-
You must be using a different version of wget.
[root@dalet ~]# yum list | grep wget
wget.i386 1.10.2-7.el5 installed
wget.i386 1.11.4-2.el5_4.1 updates
I see there is a newer one - maybe that's the one you're using?
-
On Gentoo, I'm using net-misc/wget-1.11.3 USE="ssl -debug -ipv6* -nls* -socks5 -static".
-
If you run a "man wget", does it show the -p option?