FranciscoR Posted March 22, 2009 Report Share Posted March 22, 2009 Flo, Can you see any issue in XML below ? When updating (drivers from HP) Ketarin CPU usage goes up to 50% (a normal job usualy is below 1%). <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="5df7bbdf-5a5d-488d-ae1b-6a5f82cf32a9"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=Versão\:.*?)((?:\d+|\w+)(?:\.\d+)+(?:\s\w)?)(?=\<)</Regex> <Url>http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-67682-1&lc=pt&dlc=pt&cc=pt〈=pt&os=2093&product=3631258</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>durl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=ftp://ftp.hp.com/)(.*?)(?=")</Regex> <Url>http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-67682-1&lc=pt&dlc=pt&cc=pt〈=pt&os=2093&product=3631258</Url> <Name>durl</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>HP</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programas\HP\BIOS_sp42153_F.59 A.exe</PreviousLocation> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-03-22T16:02:17.4128838</LastUpdated> <TargetPath>{target}\{category}\{appname}_{url:basefile}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>ftp://ftp.hp.com/{durl}</FixedDownloadUrl> <Name>BIOS</Name> </ApplicationJob> </Jobs> Link to comment Share on other sites More sharing options...
FranciscoR Posted March 22, 2009 Author Report Share Posted March 22, 2009 It's the prefix. I fixed it. =) Link to comment Share on other sites More sharing options...
floele Posted March 22, 2009 Report Share Posted March 22, 2009 Prefix? In any case, I'd always suspect Regular Expressions to be a problem. There is not much Ketarin needs to "think" about except for that. Link to comment Share on other sites More sharing options...
FranciscoR Posted March 22, 2009 Author Report Share Posted March 22, 2009 Now I have all drivers updated. =) Know what you mean, in any case that regex is not wrong and although I've fixed it, my current match is exactly the same. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now