There is a verify option in Kscripting that allows you to check the date on a file before continuing.

I've specified the path and name which seems fine but I can't seem to get the script to accept any date I set for the "Modified Since:" field. I get parse errors that look like the following:

2010-07-08 08:36:16 Cached Parse Error changed from 'KBotXMLParser: invalid document (XSD check failed) for 632: BookMaster update Z742AOCP.jwr July 01 2010 , Element 'file_modified_since', attribute 'expectedValue' ['date']: The value '07/01/10' is not valid., ' to '
Removed dependencies: kace2656.bat (e8d6586e42be0392a5689c20ce3ce79e), kace5394.bat (da505c6edd1b264a6924301fd3b12c93)
Added dependencies: kace5758.bat (e8d6586e42be0392a5689c20ce3ce79e), kace7916.bat (da505c6edd1b264a6924301fd3b12c93)
Policy or Job Rules changed.

Has anyone else succesfully used this paticular Verify type? Please let me know what I may be doing wrong or missing?


Thanks so much,


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Thanks for stopping by and looking. As they say if you want something fixed you have to do it yourself. I kept trying and sure enough this Verify works with hyphens not backslashes in this format. YYYY-MM-DD

Hopefully this helps someone else trying to do the same thing!!!!

Thanks,
Answered 07/15/2010 by: bryceb
Senior Yellow Belt

Please log in to comment
0
(What perfect timing...) I'm trying to use the "file was modified since" step for the first time today, and I get the ugly "Cached Parse Error" if I enter either:
2010-07-01
or
7/1/2010.

So what is the correct syntax?

(And shouldn't stuff like this be in the manual??)

(And if the KBOX knows there's an error, evidenced by the Cached Parse Error message, why let me save the script at all--why not alert me to the error and stay on the script editing screen???) Sande
Answered 07/27/2010 by: snissen
Fourth Degree Green Belt

Please log in to comment
0
Does anyone know the answer to the question above, or documentation that could clarify this for me? I'm having the same issue, not coming up with an answer. Thanks.
Answered 01/19/2011 by: bcreasey
Orange Belt

Please log in to comment
0
Must use yyyy-mm-dd format 2010-07-01
Answered 01/20/2011 by: KevinG
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity