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

[HTCondor-users] debug condor_starter



Hi,

I am trying to add a custom cron hook, but I keep receiving this error in Started log

05/07/25 15:06:52 (pid:1787894) argc = 1
05/07/25 15:06:52 (pid:1787894) argv[0] = condor_starter
05/07/25 15:06:52 (pid:1787894) usage: condor_starter initiating_host
05/07/25 15:06:52 (pid:1787894)ÂÂÂ or: condor_starter -job-keyword keyword
05/07/25 15:06:52 (pid:1787894) -job-input-ad path
05/07/25 15:06:52 (pid:1787894)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ -job-cluster number
05/07/25 15:06:52 (pid:1787894)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ -job-proc number
05/07/25 15:06:52 (pid:1787894)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ -job-subproc number
05/07/25 15:06:52 (pid:1787894) **** condor_starter (condor_STARTER) pid 1787894 EXITING WITH STATUS 1


The custom part of the conf is

cat config.d/30_startd.config
# startd conf

MODULES = /etc/condor/modules
STARTD_CRON_JOBLIST = $(STARTD_CRON_JOBLIST) myjob
STARTD_CRON_myjob_PERIOD = 60s
STARTD_CRON_myjob_EXECUTABLE = $(MODULES)/customClassAd
STARTD_CRON_myjob_RECONFIG=true


I added to the main conf this line


START = ($(START)) &&Â CustomStatus=="Idle"


and the customClassAd script is just

#!/bin/bash

echo "CustomStatus=Idle"


Could you help me to debug this?

Thanks

Antonio