Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] set the state of a job to completed
- Date: Thu, 18 Aug 2005 09:12:50 -0500
- From: Jaime Frey <jfrey@xxxxxxxxxxx>
- Subject: Re: [Condor-users] set the state of a job to completed
On Aug 18, 2005, at 3:30 AM, Horvatth Szabolcs wrote:
Have you tried using post scripts with DAGMan? They allow you to have
a failed job (didn't terminate with exit code 0) treated as a
successful job.
My jobs automatically restart if the exit code is not 0 using the
on_exit_remove expression.
Would post scipts run in this case?
Once the job enters the completed state (and the terminate event is
written to the user log), DAGMan runs the post script for it (defined
in the .dag file). It uses the exit code of the script as the
indicator of whether the job was successful (0 mean success, non-0
means failure). So as long as your jobs remain un-completed (re-
running due to on_exit_remove being false), the post scripts wouldn't
be triggered.
+----------------------------------+---------------------------------+
| Jaime Frey | Public Split on Whether |
| jfrey@xxxxxxxxxxx | Bush Is a Divider |
| http://www.cs.wisc.edu/~jfrey/ | -- CNN Scrolling Banner |
+----------------------------------+---------------------------------+