[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] query with regular expressions



If you think those are nasty - try adding them in "arguments" in
submit files

(see http://epubs.cclrc.ac.uk/bitstream/1723/Gotchas2.ppt
for some hints)

cheers

JK


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx on behalf of Barnett P. Chiu
Sent: Fri 11/04/2008 20:46
To: Condor-Users Mail List
Subject: Re: [Condor-users] query with regular expressions
 
Hi, Jose, 

     It works. Quotes are just e**l. Thanks for the reply :) 

~Barnett 

Jose Caballero <jcaballero.hep@xxxxxxxxx> wrote: Hi Barnett

I think you just need to scape the quotations. Try a commnad like the following
condor_q -const "regexp(\"myschedd.com\", GridResource)"


Jose


2008/4/11, Barnett P. Chiu <thiaoouban@xxxxxxxxx>: Hi, 

    How to make a query that says return a list of jobs whose GridResource value matches the pattern 'myschedd.com.'? I'd like to use this query to get all jobs that were submitted to a resource but yet I don't necessarily remember its exact host name. Command like: condor_q -const 'regexp('myschedd.com', GridResource)'  doesn't seem to work. Thank you. 
 

~Barnett 


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 
_______________________________________________
 Condor-users mailing list
 To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
 subject: Unsubscribe
 You can also unsubscribe by visiting
 https://lists.cs.wisc.edu/mailman/listinfo/condor-users
 
 The archives can be found at:
 https://lists.cs.wisc.edu/archive/condor-users/
 


 _______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com