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

Re: [HTCondor-users] Insert custom ClassAd attributes in a machine ad via a script

The output of your script needs to be a set of "key=value" pairs.
It appears to me that youur script is outputting only


which is not valid

On 2/19/2015 12:02 AM, Nischal Bansal wrote:



I am trying to insert a custome ClassAd attribute in machine ad via python script using below changes in condor_config


STATUS = C:\condor\example1\test\test.bat





I am trying a test file for the time, before using actual file



        @echo off

        python test.py



        x = 50

        print ("%d" % x)


But it’s not working.


Is there anyone ever tried inserting custom ClassAd attributes in a machine ad via python script & succeeded?




Nischal Bansal


The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, please immediately alert the sender by reply e-mail and then delete this message. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. R Systems has taken every reasonable precaution to minimize the risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment.

HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: