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

Re: [Condor-users] query with regular expressions



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/