QueueMetrics > Running QueueMetrics
Garbage at the end of all auto emailed reports
(1/1)
clark:
Hi,
I just got reports to automatically email based on the FAQ, but it seams that wget is appending some web code at the end of each report right where the Loway logo should be.
I get this error from htmldoc:
Converting monthlyrep.html... 10-320
Converted 1 files in 0.007 seconds.
ERR007: Unknown image file format for "monthlyrep.html"!
ERR011: Unable to parse HTML element on line 3064!
PAGES: 18
BYTES: 404359
Here is my my wget command:
wget -nH -k -K -l 1 -p -O weeklyrep.html "$QM_SERVER/$QM_WEBAPP/qm_rep.do?user=$QM_USER&pass=$QM_PASS&queues=$QM_QUEUE&period=$QM_PERIOD&reportname=Operations%20SLA"
Here is what ends up at the end of each report...
Loway Research
(( HH LLLÈÉÒ¬¬ÕüLJüººÛlmlzyüûýû00ü///üÜÞÜüªçGê>§êz−UUYåôO÷ÂÇÕÚ©]" Ú−Y,uº¦T
¦_μºªÖ¹êH說ªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª body, td { font: 10pt Georgia, "Times New Roman", Times, serif; font-family:
Arial,Helvetica,sans-serif; } .Input { background: #eee; border: 1px solid #999; font: 10pt Georgia, "Times New Roman", Times, serif; } .Input:focus {
background: #fff; border: 1px solid #686868; font: 10pt Georgia, "Times New Roman", Times, serif; } .actButton { /* background:
url(./img/greyshade.gif); */ background: #eee; border: 3px double #999; cursor: pointer; } #xBody { background: #eee; } #xPanel { background: #eee;
border: 1px dotted #888; } #xTitolo { background: #fff; } #xCorpo { background: #fff; padding: 0px; margin-bottom: 0px; border: 1px dotted #fff; }
#xFooter { background: #eee; font-size: 0.75em; text-align: center; border-top: 1px dotted #888; padding: 0px; margin-top: 0px; } .graysmall { color:
#888888; } /* ---------------------------------------------------------------------------- // F R O N T P A G E //
--------------------------------------------------------------------------*/ .fptitle { font-weight: bold; color: red; } A.fplink { color: #444; text-decoration: none; }
A.fplink:hover { color: blue; text-decoration: underline; cursor: pointer; } #licAgreement { overflow: auto; background: red; height: 300px; width: 600px;
background: #eee; border: 1px solid #999; font: 8pt Georgia, "Times New Roman", Times, serif; text-align: left; padding: 5px; } /*
---------------------------------------------------------------------------- // MENU FLIPPY di tipo MENU1 //
--------------------------------------------------------------------------*/ .menu1 { background-color: #eee; padding-top: 0px; } .menu1 TD { background-color:
#ffc; border-bottom: #888 1px dotted; text-align: center; font-size: 12px; color: black; } .menu1 TD#first { padding-right: 10px; padding-left: 9px;
border-bottom: #888 1px dotted; background-color: #eee; } .menu1 TD#last { border-bottom: #888 1px dotted; background-color: #eee; } .menu1 A {
border-top: #eee 1px solid; border-left: #eee 1px solid; border-right: #eee 1px solid; padding-right: 12px; padding-left: 12px; padding-top: 6px;
padding-bottom: 6px; color: #000000; display: block; text-decoration: none; } .menu1 A:hover { color: #f00; text-decoration: underline; display: block; }
.menu1 A:visited { color: #000000; display: block; } .menu1 TD#selected { background-color: #FFFFFF; border-left: #006633 1px dashed; border-top:
#006633 1px dashed; border-right: #006633 1px dashed; border-bottom: #FFFFFF 1px solid; font-weight: bold; } .menu1 TD#selected A { color:
#000000; border: 0; } .menu1on { background-color: #333333; border-bottom: #000000 1px solid; font-size: 12pt; } .menu1on A { border-top: 1px solid
#191919; border-left: 1px solid #191919; border-right: 1px solid #191919; background-color: #333333; padding-right: 12px; padding-left: 12px;
padding-top: 6px; padding-bottom: 6px; color: #FFFFFF; display: block; } .menu1on A:hover { color: #FFFFFF; text-decoration: underline; display:
block; } .menu1on A:visited { color: #FFFFFF; display: block; } .exportButtons { display: block; } /*
---------------------------------------------------------------------------- // S m a r t T a b l e s // --------------------------------------------------------------------------*/ .ST
etc, etc.
What am I missing here? Is there any way to stop this? It doesn't seem to effect the reports other than just ignoring the last few pages. It doesn't happen when we run reports directly from the web interface. Its almost like wget's recursive feature is downloading something that htmldoc doesn't understand from the Loway link at the bottom of each report.
QueueMetrics:
Is the HTML correct or is it an issue with the PDF printer?
Navigation
[0] Message Index
Go to full version