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

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



Is this to say that at some point after 7:12 am on 24th march the job did
not run?
Or are you concerned with the line "2 are rejected by your job's
requirements".

If it's the latter, then it's is because the cron job has not meet the
requirements criteria, namely, that it is not the 7:12 am on the 24th day of
March.

If it's the former, then it may be due to a number of factors:

1) "It is impossible to schedule vanilla and standard universe jobs at
intervals 
that are smaller than the interval at which Condor evaluates jobs."

2) "Condor cannot guarantee that a job will be matched in order to make its
scheduled deferral time."  If the job cannot be matched, it will kick-around
until
it can be.

3) Some subtlety I'm missing as well.

4) It is a bug in Condor.

Try submitting the job again and for 5 minutes from when you set it and let
Condor
do its thing for some time.  If after half an hour the job has not run, then
post
again with the a clip of the logs where it seems t have gone wrong (or all
of them
if it is not obvious).

Regards,
-B

From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of boson code
Sent: Monday, March 23, 2009 8:50 PM
To: Condor-Users Mail List
Subject: [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")
on_exit_remove = false
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