...
Triggers can be logically AND'd or OR'd, and use the boolean operators are:
...
operators &&
...
and ||
...
. They can be grouped with parentheses "( )", but grouping is not supported when using the job dependency attribute, only in callbacks.
Note |
---|
The dependency language (used when setting a job's dependency attribute) uses a limited set of boolean operators, only AND and OR. The convention for the dependency language is to provide a comma-separated list of dependencies, such as: |
Examples
When this job completes:
complete-job-self
...
When I complete and my parent completes:
complete-job-self AND && complete-job-parent
When the job labeled "sibling" starts running, and I am done:
running-job-sibling AND && done-job-self