_______________________________________________condor_status -const partitionableslot -af:lrng start | condor_status -json -ads â
Â
the first invocation of condor_status with -af:lrng evaluates and prints attrbutes as key = value, that is piped to the second invocation
of condor_status what reads ads from stdin and formats writes them back out in json format
Â
But be aware that if the start _expression_ depends on any job attributes, then it will Âalways evaluate to undefined in the absence of a job ad.
Â
-tj
Â
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Vikrant Aggarwal
Sent: Wednesday, November 27, 2019 3:32 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Evaluate _expression_ with -json optionÂ
Hello Experts,
Â
Any thoughts on this query?
Thanks & Regards,
Vikrant Aggarwal
Â
Â
On Mon, Nov 25, 2019 at 5:25 PM Vikrant Aggarwal <ervikrant06@xxxxxxxxx> wrote:
Hello Experts,
Â
Below command is giving me the condition set for start not the evaluated _expression_.Â
# condor_status -const partitionableslot -json -attr start
Adding eval(start) also doesn't help. Can we get the evaluated _expression_ with -json or -xml option?
Thanks & Regards,
Vikrant Aggarwal
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/