I don't think the messages about condor_starter are related to your STARTD_CRON.
But I do see a problem with your STARTD_CRON script.
I think in this line Idle should be quoted like this
echo "CustomStatus=\"Idle\""
Otherwise CustomStatus will always evaluate to undefined.
-tj
From: HTCondor-users on behalf of Antonio Falabella via HTCondor-users
Sent: Wednesday, May 7, 2025 8:12 AM To: HTCondor-Users Mail List Cc: Antonio Falabella Subject: [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 _______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe Join us in June at Throughput Computing 25: https://urldefense.com/v3/__https://osg-htc.org/htc25__;!!Mak6IKo!NKrYNm5Tm9LyUHwsrSLiifzkeHCCkB4kg9qQvpYI68MiU9Zw3KrjVIm4CQnWKZS1ig93EiwCZQVc_Loq86zgX0zyhq8g7Dw$ The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/ |