Thanks Ian and Bradley, I understand the way what you have suggested. That is really great.
Still i have some doubts, I dont want to use the MaxRunHours parameters in submit file, coz that gives the control to users. I want this control to be with condor.
So the other option suits me to specify SYSTEM_PERIODIC_REMOVE in configuration file on submit machine. But with this what i understand is that if i set it to 1 hour then the user whose jobs takes more than 1 hour always get killed, thats why i want to
have different queues if possible. So that control lies fully with condor.
Coz in my case what is happening is sometime job remains in Running status but actually its not running, this i had discussed in some of my early posts.
To condor job is in running status, so the resources which are used by these jobs gets blocked, hence the idle jobs remains in idle position.
So is there any way to resolve this issue. I dont know why it happens that
job continues in running states even for several day, which should actually get complete in 8-9 hours.
One more thing i would like to know that is there any way to specify some time parameter in submit file may be MaxRunHours after that, the
particular job get resubmitted automatically. I hope something for this must be there in condor which i am missing, or if some helping scripts are there which can do this work of checking the job status depending upon MaxRunHours
and then resubmit the job. It will be very helpful to me.
Some user is having long jobs say it runs for 8 hours,
on the other hand some users are having short jobs
that runs for 1 hour only.
So if possible can i have two job queue namely "one
hour" and "10 hour".
So that the user of short job submit it to "one hour"
long job users submit to "10 hour" queue.
If the job execution time exceeds the time allocated to
job queue, then the jobs should
either be resubmitted or killed.
This sort of thing is generally unnecessary with Condor. You
can set a per-submission rule that can be used to terminate the
jobs in the submission if they violate some policy you want to
put in place.