Trigger is the gating condition for an instance of job to be launched. Currently only time based triggers are supported.
Java class for x_trigger complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="x_trigger">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="frequency" type="{uri:lens:job:0.1}x_frequency"/>
</choice>
</restriction>
</complexContent>
</complexType>
| name | data type | description |
|---|---|---|
| frequency | XFrequency |
Example
{
"frequency" : {
"timezone" : "...",
"enum" : "WEEKLY",
"cron_expression" : "..."
}
}