[GE users] creating new log when a job exits with exit code 99

Reuti reuti at staff.uni-marburg.de
Tue May 3 11:29:55 BST 2005


just before you exit with 99, you can reset the files:


or delete them:


Cheers - Reuti

Haim Ashkenazi wrote:
> Hi
> I'm trying to integrate SGE with FlexLM. following the howto, I wrote a
> little shell script that searches the log to check if the job didn't run
> because of a missing license, and if so it exits with code 99 (like the
> last part of the howto). my problem that if the job exits with code 99,
> in the next run it appends to the same log so I always find this error,
> even if the next time it runs successfully. 
> One option is to make a more complicated search the search for job start
> and then searches for the error, but that is not very elegant. I was
> wondering if there's a way to tell qsub to replace the previous log, or
> delete it's content when a job re-runs.
> I use SGE 6.
> thanx

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list