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

[Condor-users] problem with scheduling cron job on windows



Hello All,

I've a pool of two machines and both can execute jobs. I've installed condor 7.2.1 on both of them.

This is my job submission file:

universe=vanilla
executable=c:\\yt\\t.bat
output=t.log
requirements=(machine=="xxx.yyy.zzz")
>notification=never
log=t2.log
cron_minute = 12
cron_hour=7
cron_day_of_month=24
cron_month=03
queue

the t.bat file which i want to execute at 7:12 am on 24th march is a simple batch file having echo statement.

I submitted the file normally (condor_submit t.submit, where t.submit is the above file) and i got this error when i did condor_q -analyze:

119.000:  Run analysis summary.  Of 2 machines,
      2 are rejected by your job's requirements
      0 reject your job because of their own requirements
      0 match but are serving users with a better priority in the pool
      0 match but reject the job for unknown reasons
      0 match but will not currently preempt their existing job
      0 are available to run your job

WARNING:  Be advised:
   No resources matched request's constraints
   Check the Requirements _expression_ below:

Requirements = ((machine == "xxx.yyy.zzz")) && (Arch == "INTEL") && (OpSys == "
WINNT51") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize) && (HasFileTransfer)
&& (HasJobDeferral) && (((CurrentTime + ScheddInterval) >= (DeferralTime - DeferralPrepT
ime)) && (CurrentTime < (DeferralTime + DeferralWindow)))


the above file runs just fine if i dont use cron. I'm doing anything wrong here? Can anybody help me with this?

Thanks in advance
Bo