Timeout jobs on sun grid engine
Asked Answered
A

1

1

I'm running a lot of jobs with sun grid engine (linux). Some of the jobs take a (very) long time to run, and I don't know ahead which ones.

I would like to stop jobs that run for more than, say, 2 hours. Is it possible to run using SGE? Is it possible to do it from the unix shell?

Thanks

Adiana answered 27/8, 2010 at 18:23 Comment(0)
F
2

If you're running the jobs yourself then use the hard wall clock time.

#$ -l h_rt=2:00:00

Where time is hr:min:sec

Festal answered 27/8, 2010 at 21:8 Comment(1)
any pointers to the man page pleasePill

© 2022 - 2024 — McMap. All rights reserved.