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

Re: [Condor-users] condor_qedit with multiple -constraints




On Jan 27, 2010, at 17:10 , Burt Holzman wrote:

Peter Doherty wrote:
I'm trying to use condor_qedit to change some elements of the classads. It doesn't seem to accept multiple constraint statements. have I got my syntax wrong? I can't find much documentation or examples that help me out here.
Examples:
# condor_qedit -constraint Owner=\"doherty\" -constraint 'JobUniverse==9' Requirements '(Arch == "X86_64") && (OpSys == "LINUX") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize)'
Failed to set attribute "-constraint" by constraint: Owner="doherty"
# condor_qedit doherty -constraint 'JobUniverse==9' Requirements '(Arch == "X86_64") && (OpSys == "LINUX") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize)' Failed to set attribute "-constraint" by constraint: (Owner == "doherty")

Try:


condor_qedit -constraint 'Owner=="doherty" && JobUniverse==9' foo bar

- B

Worked like a charm.
Thank you very much.