<DIV>Thanks Andy for the suggestion. The only problem with that is that i get tickets that were created even more than 2 hours ago from the current time- even those that had been created days and weeks ago were still displayed and that makes sense anyway. But what i really wanted is to get tickets that were created exactly 2 hours ago from the system time and i don't get any accurate result. But I might have to make do with using <2 hours ago in the search string for now...Any further suggestions would be appreciated.</DIV>
<DIV> </DIV>
<DIV>Thanks<BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><B><I>Andy Harrison <aharrison@gmail.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">On Tue, 22 Feb 2005 08:15:50 +0000 (GMT), Oluwatomisin Ilori<BR><TOMISILORI@YAHOO.CO.UK>wrote:<BR>> Hi everyone,<BR>> Please, can anyone help me out with this. I'm trying to create a query<BR>> string that can be used in rt-crontool to send timed notifications but i'm<BR>> not getting the expected results. <BR>> The query string i'm using is: <BR>> Status != 'resolved' AND Created = '2 hours' AND Queue = 'InternetAccess'<BR>> . Actually, what i want is to be able to obtain tickets that have not been<BR>> resolved in exactly 2 hours from the internet access queue, but my result is<BR>> showing tickets that were created over 2 hours ago, like 12hours ago..Am i<BR>> feeding in the wrong parameters? Please, any assistance would be greatly<BR>> appreciated. <BR>> Thanks.<BR><BR>If you specify Created = '2 hours' then it's going to look for
tickets<BR>that were created exactly 2 hours prior to the current time. Use<BR>Created < '2 hours ago' for your comparison.<BR><BR>-- <BR>Andy Harrison<BR></BLOCKQUOTE><p>
<hr size=1> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://uk.rd.yahoo.com/mail/taglines/default/messenger/*http://uk.messenger.yahoo.com"><strong><font face="Arial, Helvetica, sans-serif">ALL-NEW
Yahoo! Messenger</font></strong></a><font face="Arial, Helvetica, sans-serif"><strong>
- all new features - even more fun!</strong></font><strong><font color="#FF9900">
</font></strong></font>