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

[Condor-users] debugging STARTD_CRON jobs



I am using the STARTD_CRON facility to keep track of how many licenses are available for my software. I have a routine "fad" that produces the following output to stdout
 
software1_available = 5
software2_available = 0
...
 
then in my ClassAd I have the line
 
Requirements = ( software1_available > 0 )
 
 
1. Is this the correct way to do this?
2. How do I see the value of software_available to make sure it is getting set correctly from the STARTD_CRON job.
 
The StartLog indicates that "fad" is indeed being run. See below
 
8/20 06:17:15 Create_Process: using fast clone() to create child process.
8/20 06:17:15 Cron: STDOUT closed for 'fad'
8/20 06:17:15 Cron: STDERR closed for 'fad'
8/20 06:17:15 DaemonCore: No more children processes to reap.
8/20 06:17:15 Cron: 'fad' (pid 1261) exit_status=0
8/20 06:17:15 Cron: timer ID 13 reset to first: 1, period: NEVER
8/20 06:17:15 fad: 48 lines in Queue
8/20 06:17:15 Replacing ClassAd for 'fad'
8/20 06:17:15 StartdCronJob::Publish() has no new data, skipping collector update