This job is probably most useful in it's 'not equals' form - i.e. to check when something hasn't completed.
| Name | Description | Required |
|---|---|---|
| name | A name, can be any text. | No. |
| state | The state to match. | No, defaults to COMPLETE. |
| not | Changes this job to 'Not Equals' | No. |
Required: Yes.
The job to run who's state will be compared.
<sequential xmlns:state="http://rgordon.co.uk/oddjob/state"> <jobs> <state:equals not="true"> <job> <exists file="mydb.lck"/> </job> </state:equals> <echo text="Backing up the Database..."/> </jobs> </sequential>