Detection method - date modified-greater than issue

Hi,
My detection method for a file doesn't seem to be working properly. I have an application advertised to run a .cmd file and replace files in an already existing folder. So I am using the date modified of the files I am replacing. When I check the status
of the deployment it states that the machines are already compliant even though the date modified on the file is less than the new file I am trying to deploy.
Example:
C:\ProgramData\Microsoft\Network\Connections\Cm\Test\test.cms (date modified 9/14/2014)
My detection rule:
C:\ProgramData\Microsoft\Network\Connections\Cm\Test\test.cms (Date Modified must be greater than 01.01.2015 00:00:00)
And it is stating that it is compliant even though the detection rule should be returning false?

Date format is seems to be correct, basically it depend on your local date format.
Are you sure that file is exist on the client at expected location. (If file does not exist and existential rule is not added in CI then CI will return to Compliant) If not then make sure that:
you have added existential rule in addition with value rule.
otherwise make sure that you have selected this checkbox "Report noncompliance if this setting instance is not found."
This posting is provided "AS IS", provides no warranties, and confers no rights. -Praveen S.

Similar Messages

  • Maintaine error message if posting date is greater than Sch del date in PO

    I have maintained a delivery schedule in a PO for a material
    Say PO qty 100
    Del Schedule
    10.04.09  - 60
    20.04.09 - 40
    While GRN, for 60 qty, if posting date is greater than 10.04.09, system needs to throw error.
    I want to do it for selected materials only.
    Is there a way to do this.
    Regards,
    Rakesh

    Thanx for reply
    If I use OMCQ message , it will be applicable for all GRNs and I want for a particular set of materials.
    Can one please suggest User exits / BADi for the same. I have checkd BADIs but those are based upon MSEG and EKBE table.. and i dont have any material doc no before posting the document.
    requiement is to check the delivery sch date and posting date befor posting the document is posted.
    Any suggestions welcomed.
    Reagrds,
    rakesh

  • GR posting date always greater than PO document date.

    Dear SAP Gurus,
    Am working on below requirement in a support project..
    Need to ensure GR posting date always greater than in PO creation date. Only current month is open for GR posting and at present as a standard system allows to post GR any date in the current open period.
    Is there any way, we can control the same via messages without implementing any exits or badis.
    Appreciate immediate response.
    Regards,
    GM

    there is no std sap for this
    you can use user exit to ful fill ur requirement
    in that u can write a code where is u can check all PO dated in GR must be eq to or less than GR posting and document date
    hope this helps

  • Doc Date is Greater than Posting Date in Migo

    Hi ,
    Document  Date shouldn't be greater than Posting date in MIGO .How can I restrict it ??
    Biswajit

    Hi
    We can restrict through Define Attributes of system messages
    Settings for SYSTEM MESSAGES  - Doc Date is Greater than Posting Date in Migo in that  in that Message Type we can make the Warning Message to Error Message
    regards,
    senthil.

  • Date is greater than current time plus 24 hours

    Hi,
    may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
    I want to do something like this
    select * from table_A where date_field > (sys_date_time) +24h
    as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
    Thanks

    >
    may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
    >
    No - a DATE column does NOT have a value in a format like that. The value is stored in an internal binary format. The format you posted might be your NLS_DATE_FORMAT or just a format you provided to display that date value.
    >
    I want to do something like this
    select * from table_A where date_field > (sys_date_time) +24h
    as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
    >
    As others have said to add 24 hours to whatever value SYSDATE has at the time the query is executed just use 'SYSDATE + 1'.
    But there are at least two caveats:
    1. You can't really run a query '@4 PM'. You don't have ANY control over exactly WHEN the query will begin execution. The only way to control the date used is if you provide it yourself as part of the query.
    2. Your 'date_field > SYSDATE + 1' query will NOT see inserted/updated data that has not been committed. So a similar query later may return a different result set even if it appears to cover the same time period. In other words you can't reliably use a DATE column like that to pull sequential sets/batchs of data unless there is no DML occuring on the data that might affect the results.

  • From Date is greater than End Date of a BBP document.

    Hi,
    There is a BBP document created in the system which has From Date (BBP Start Date) greater than End BBP Date.
    Have any one come across this type of issue.
    Can any one tell what can be the reasons for this to happen?
    Also in this case there are no entries for the items in this BBP document in database table DFKKMOP.
    Thanks in advance,
    Hrushikesh

    Hi Hrushikesh,
    Could you please check the details at billing document level if any of them is having the bad data.
    Also, please check the data passed and the importing data for the below FM's in debug mode.
    1. START_TIME_DETERMINE
    2. END_TIME_DETERMINE
    I am not sure, but have heard about the similar issue in one of the project, but it was related with invoicing not specific to BBP.
    Let me know the data received for the above FM's, also, will check if I can get any specific details for the same.
    Regards,
    Rajesh Popat

  • Trying to do date field greater than a specified date in condition editor

    Hi All,
    I am trying to build the XML predicate in the expression editor to check that the posting date sent is greater than a specified date to determine the reciever. I can get it to validate posting date is = to specified date, but when I change the = to > it fails to properly determine the receiver, when I send a valid document.
    Below is the expression build
    (/p1:ServiceAcknowledgementConfirmation/ServiceAcknowledgement[CreationDateTime>'2007-02-03'] EX )
    has anyone done this type of check. I have it set as a date type for the expression.
    Regards,
    Chris

    Hey all,
    I tried >= 2007-02-04 and sent in that exact date. It failed. I removed > so that it is just = 2007-02-04 and it was successful. So, is >= an allowable operator?
    Thanks,
    Chris

  • IPhoto batch change is choosing date modified rather than date created

    Hello all,
    I have a large number of MOV files which I have imported into iPhoto. I want to batch change them all, renaming them to the footage date and time.
    iPhoto has chosen the date last modified rather than date created to rename them to. When in Finder and open Inspector, it does have the correct date created.
    I can adjust date and time and tick the box to modify the original file for each one but given the quantity I have to do, I would rather the batch change pick up on the date creted. 
    Any ideas on how I can get iPhoto to do this correctly?
    I have spent some time searching online and haven't had any luck so far.
    I am using iPhoto 11 v.9.4.3 if it makes a difference.
    Thanks all
    Andrew

    iPhoto can only change the date on image files which have EXIF fields.  Movie files don't have EXIF fields so you'll need to do the job outside of iPhoto with an application that can change the file created date like  A Better Finder Attributes 5: Mac OS X Batch Date Changer for EXIF Photos, Files and Folders
    or
    File Date Changer: Change file creation and modification dates and times for Mac OS X files
    OT

  • How can I set the java Date not greater than the day inputed?

    When I would input the date, I don't want it to be after this day because it would violate some business logic in my program. I am allowed to input date latter than this day like yesterday, last week etc. but not after this day.....Can anyone give me a concrete example or logic on how to do this?THANKS!

    tr3k wrote:
    Can you explain it by code?I could, but I won't. I pointed you in the right direction. Now it's up to you to make the effort. Give it your best shot and post a more detailed question if you have problems.
    http://www.javaworld.com/jw-12-2000/jw-1229-dates.html
    http://www.javaalmanac.com/egs/java.text/FormatDate.html
    http://www.javaalmanac.com/egs/java.text/ParseDate.html
    http://java.sun.com/javase/6/docs/api/java/util/Date.html
    http://java.sun.com/javase/6/docs/api/java/util/Calendar.html
    http://java.sun.com/javase/6/docs/api/java/util/GregorianCalendar.html
    http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html

  • Date Field Greater than today?

    Ok, i've been trying to figure out how to compare a date to today.  Basically i have a field which is a Valid To field.  I want to know if this is still valid by comparing it to todays date.
    The idea is fairly simple.  However, it seems that comparing dates is beyond the normal query capabilities for some reason?
    So i did some digging around, looking at what other people have tried.
    I ended up creating a customer exit variable with the following code:
    WHEN 'ZVAR_WHATEVERJUSTWORK'.
          CLEAR l_s_range.
          L_S_RANGE-SIGN    = 'I'.
          L_S_RANGE-OPT     = 'GE'.
          L_S_RANGE-LOW     = SY-DATUM.
          append L_S_RANGE to E_T_RANGE.
    When i set up the variable in Bex Query Designer, i call it ZVAR_WHATEVERJUSTWORK (technical).
    I set it to be a customer exit, however in the Details tab, i'm not sure what the variable represents.  i've tried single value (query short dumps) and i've tried Interval (query short dumps).  When i'm testing it, i'm restricting a DAT object to my variable.
    Quite frankly, i'm amazed something so simple is as complex to set up?  I honestly believe i'm making some mistake somewhere and theres really an easy way to go. 
    So i'm asking the powers that exist in the SDN forums.
    Any ideas?  what am i doing wrong? Please help
    If i've not provided enough info, please ask.

    Bryan,
    you can do it this way....
    In your query you can have
    Valid To Date|Formula Variable 1 | Formula Variable 2 | Formula 3
    Formula Variable 1 - replacement path Valid To Date - dimension should be Time
    Formula Variable 2 - Customer Exit - Sy Datum
    write the exit as
    WHEN 'ZVAR_WHATEVERJUSTWORK'.
          CLEAR l_s_range.
          L_S_RANGE-SIGN    = 'I'.
          L_S_RANGE-OPT     = 'EQ'.
          L_S_RANGE-LOW     = SY-DATUM.
          append L_S_RANGE to E_T_RANGE.
    Formula 3 - difference between 1 and 2
    here in the query you can put a condition on Formula 3 to get the desired result.
    Arun

  • Goods receipt date should be greater than the P.O. date

    Hi
    Is there any option to control the Goods receipt date should not be lesser than the P.O.Date??
    Eg: P.O. is raised in 10.1.9, User should not do the GRN before 10.1.9. In which way we can control  this???
    Regards
    Ravi

    Dear,
    You have to include User exit in MIGOwhich will trhrow an error at the time when Goods receipt date is greater than the P.O. date.
    Regards
    Utsav

  • SCCM 2012 - IE10 - Detection Method - Compliance?

    Hi, I am successfully deploying IE10 to the domain. I have amended the detection method to the below:
    i have updated the content. How do I update the compliance to reflect to the deployment as it is still @ 0% for each Collection? Do i need to redeploy the application?. I need to get the results asap if possible!
    Thanks

    Hello, there is still no change in the Compliance. I have changed the Detection Rule to
    Operator: Greater than or Equal to rather than Equals:
    Hoping this will make a difference or any more solutions? Cheers

  • Arrange by Date Modified

    Ever since I updated to Lion I have been wondering how to keep a folder arranged by the date modified in the icon view. In Snow Leopard, if I set a folder to be arranged by date modified, it would do it and look exactly the same as if it was arranged by the name or kind. How do I do this in Lion? When I set it to arrange by date modified in Lion, it gives this weird view that doesn't show all my files. I can click show all for each view, but then the scroll is vertical instead of horizontal.
    Arranged by name:
    Arranged by date modified:

    Rather than "Arrange By", you want "Sort By":
    You might not be able to do this directly from the menu, but you can open the Show View Options window to set it. Change the Arrange By to None and the Sort By to Date Modified. (Then Use as Defaults if desired).

  • User input formula variable with greater than/less than operators for KFG

    Hello all,
    I have used a formula in my query that is a difference of two key figures .For e.g:
    Difference = tax from system A  -  tax from system B.
    Now when the users run the report they should be prompted for the 'Difference' threshold for seeing the report say where difference is greater 100 or equal to 10 and so on.Currrently I have created a formula variable with 'user input' and created a 'condition' to display 'Difference' greater than the user entered value.
    However,it is required to have various selection options for setting the threshold of difference.For e.g User should be able to set say 'equal to'/'greater than/less than/not equal to operator for 'difference' in the initial selection screen of the report.
    With the current user-input formula variable I am not getting these 'greater than' etc operators.Any ideas on how to achieve this?

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

  • Filtering Interactive Reports with Greater Than Less Than Operators

    The available filter operators in the interactive reports do not include greater than or less than. How is it possible to enable an application user to filter records where greater than or less then logic is needed?
    For example the user wants to query records where sysdate falls between a start and end date.
    Regards,
    Todd

    Ya know, that's all well and good ... BUT ... WHAT IF you do want to sort text type columns with Greater Than and Less Than operatiors??
    SQL does it just Fine ... so WHY does APEX have the limit??? This is an Oracle BUG ... it SHOULD NOT limit the operators ... I realize "they" may be trying to be helpful with proper constraints to field searches ... but ... if SQL can do it, then ... no need for a limit.
    EG ...
    Show the records where
    the "Begin_Year-Wk" data is less than or equal to "2009-09" AND
    the "End_Year-Wk" data is greater than or equal to "2009-04"
    ... to give everything that was running in that 5 week period whether or not it starts within that time frame
    I can run this query perfectly fine via SQL ... but not in APEX ... unless I reconvert a lot of strings back to numbers, and for sorting / formatting / explain-to-user purposes, I really don't want them to be numbers.
    So ... there's gotta be a hidden tweak for operators somewhere ...

Maybe you are looking for

  • What can i do about a sluggish mouse?

    Does anybody have a solution for a sluggish mouse? My battery level is 99% but it is slow to respond.

  • Register a new portlet using API ?

    I have problems registering af new Portlet using the portal UI, and are looking at ways of doing this programatically using the API's (wwpro_api_provider or other). I have only found API functions for registering the Provider, not the individual port

  • MM-PUR-OPT-LB Load building without Retail solution

    Hi, has anyone tried to set up automatic load building (module MM-PUR-OPT-LB) in Release ECC 6.0 without using the retail solution? The optimization routines are available but do not work in a non-retail environment. It seems that some retail-related

  • Installing Oracle9i Database on Windows 2003 Cluster

    Can anyone tell me if there are any additional steps needed to install an Oracle DB on a Windows 2003 cluster besides just running the installation and taking the defaults? I was hoping that the software would be cluster aware but it doesn't appear t

  • Adobe Reader 9.1.3 Security Patch

    Does the Adobe 9.1.3 SP3 have the Security Patch already in it?  Or, do we need to install the Security Patch to fix the hole?