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

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



Hi,

 

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

STARTD_CRON_JOBLIST = $(STARTD_CRON_JOBLIST) STATUS

STARTD_CRON_STATUS_EXECUTABLE = $(STATUS)

STARTD_CRON_STATUS_PERIOD = 60

 

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

 

test.bat

        @echo off

        python test.py

 

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?

 

 

Regards

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.