/build/static/layout/Breadcrumb_cap_w.png

Patching - Label not working correctly when trying to use Release Date

Hi all-

I'm attempting to create a Patch Label that shows me all of my patches on the KBOX that are newer than 40 days. I thought I could do this by creating a new Smart Label in the Patch module, and using the following criteria

Release Date < DATE_SUB(now(), INTERVAL 40 DAY)

When I test the label, instead of getting only patches that have been released in the last 40 days, I get every patch in my patch listing, regardless of the release date. Am I using the wrong criteria? Thank you for any assistance!


2 Comments   [ + ] Show comments
  • Can you post the SQL query for the smart label? The wizard doesn't always format them correctly and they sometimes need to be adjusted. - chucksteel 10 years ago
  • Hi chucksteel....this is it in its simplest form

    select UID from KBSYS.PATCHLINK_PATCH where ( KBSYS.PATCHLINK_PATCH.RELEASEDATE < 'DATE_SUB(NOW(),INTERVAL 40 DAY)') - dtobias_keenan 10 years ago

Answers (1)

Posted by: SMal.tmcc 10 years ago
Red Belt
0

it may be the space between the comma and interval

https://kace.uservoice.com/forums/82699-k1000/suggestions/2224921-allow-last-days-for-patch-release-date-search


Comments:
  • Unfortunately there was no change when I removed the space. - dtobias_keenan 10 years ago
    • sorry I cant look into that further our server crew crashed the kbox doing a patch. - SMal.tmcc 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ