You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -890,6 +890,14 @@ If the [Job.state](#job-state) is `queued`, this property will indicate what pos
890
890
891
891
While the job is running, i.e. in the data passed to the Event Plugin, the job object will contain a `serverData` property. This will be a copy of the [Server.userData](#server-userdata) object, if applicable for the current server.
892
892
893
+
### Job.invisible
894
+
895
+
If set to `true`, the job is running invisibly to the UI. See [Quiet Trigger](triggers.md#quiet) for details.
896
+
897
+
### Job.ephemeral
898
+
899
+
If set to `true`, the job will self-delete upon completion. See [Quiet Trigger](triggers.md#quiet) for details.
900
+
893
901
## Monitor
894
902
895
903
A monitor keeps track on a specific numeric server metric. These are graphed in the UI so you can see trends over time, and you can also point alerts at them. Here is an example monitor in JSON format:
Copy file name to clipboardExpand all lines: docs/triggers.md
+21-4Lines changed: 21 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ Example:
266
266
267
267
### Range
268
268
269
-
Restrict scheduling to a date/time window. Prevents launches before `start` and after `end` (unless time is inside another range). Endpoints are inclusive.
269
+
Restrict scheduling to a date/time window. Prevents launches before `start` and after `end` (unless time is inside another range). Endpoints are inclusive. As a "modifier" this option only takes effect when jobs are launched from a scheduler trigger (i.e. not launched manually via UI or API).
270
270
271
271
Parameters:
272
272
@@ -293,7 +293,7 @@ Example: Only run between March 1 and May 31 (inclusive):
293
293
294
294
### Blackout
295
295
296
-
Prevent any automatic launches during a specific date/time window. Endpoints are inclusive.
296
+
Prevent any automatic launches during a specific date/time window. Endpoints are inclusive. As a "modifier" this option only takes effect when jobs are launched from a scheduler trigger (i.e. not launched manually via UI or API).
297
297
298
298
Parameters:
299
299
@@ -320,7 +320,7 @@ Example:
320
320
321
321
### Delay
322
322
323
-
Add a starting delay to all scheduler-launched jobs for the event. Does not affect manual/API runs. Mutually exclusive with `interval` and `precision`.
323
+
Add a starting delay to all scheduler-launched jobs for the event. Does not affect manual/API runs. Mutually exclusive with `interval` and `precision`. As a "modifier" this option only takes effect when jobs are launched from a scheduler trigger (i.e. not launched manually via UI or API).
324
324
325
325
Parameters:
326
326
@@ -340,7 +340,7 @@ Example (delay all launches by 2 minutes):
340
340
341
341
### Precision
342
342
343
-
Launch within the scheduled minute at specific second offsets. Augments other automatic triggers to achieve sub-minute starts. Mutually exclusive with `interval` and `delay`.
343
+
Launch within the scheduled minute at specific second offsets. Augments other automatic triggers to achieve sub-minute starts. Mutually exclusive with `interval` and `delay`. As a "modifier" this option only takes effect when jobs are launched from a scheduler trigger (i.e. not launched manually via UI or API).
344
344
345
345
Parameters:
346
346
@@ -363,6 +363,23 @@ Example (launch at :05, :20, :35, :50 within each matched minute):
363
363
}
364
364
```
365
365
366
+
### Quiet
367
+
368
+
The "Quiet" modifier allows you to configure jobs to run silently (i.e. completely invisible to the UI), and also optionally ephemeral (so they self-delete upon completion). As a "modifier" this option only takes effect when jobs are launched from a scheduler trigger (i.e. not launched manually via UI or API). Each quiet mode can be enabled or disabled separately:
369
+
370
+
| Name | Type | Required | Description |
371
+
|------|------|----------|-------------|
372
+
|`invisible`| Boolean | Yes | Upcoming, queued and running jobs are completely hidden from the UI. |
373
+
|`ephemeral`| Boolean | Yes | Auto-delete jobs upon completion (no permanent storage). |
374
+
375
+
A few notes about behaviors:
376
+
377
+
- Invisible mode affects running jobs, queued jobs, as well as upcoming jobs.
378
+
- You can still access running invisible jobs via the API (i.e. [get_job](api.md#get_job), [get_jobs](api.md#get_job)).
379
+
- As soon as jobs complete, they will be visible in the UI (unless `ephemeral` is also set).
380
+
- Ephemeral mode will automatically disable itself if the job produces output files.
381
+
- Both invisible and ephemeral modes are passed down to child sub-jobs if set on a workflow.
382
+
366
383
### Plugin
367
384
368
385
Use a custom [Trigger Plugin](plugins.md#trigger-plugins) to decide whether to launch a job or not. The plugin runs with configured parameters and returns a launch/no-launch decision per each scheduled run. This is a "modifier" so it needs to be used in conjunction with a standard schedule trigger.
content: 'This option allows you to set a starting and/or ending date/time for the event. Jobs will not be scheduled before your start date/time, nor after your end date/time. This is designed to accompany other triggers.'
3194
+
content: 'This modifier allows you to set a starting and/or ending date/time for the event. Jobs will not be scheduled before your start date/time, nor after your end date/time. This is designed to accompany other triggers.'
3194
3195
});
3195
3196
3196
3197
// blackout
3197
3198
html+=this.getFormRow({
3198
3199
id: 'd_et_blackout_desc',
3199
3200
label: 'Description:',
3200
-
content: 'This option allows you to set a "blackout" period for the event, meaning jobs will not be scheduled during this time. Examples include company holidays, and maintenance windows. This is designed to accompany other triggers.'
3201
+
content: 'This modifier allows you to set a "blackout" period for the event, meaning jobs will not be scheduled during this time. Examples include company holidays, and maintenance windows. This is designed to accompany other triggers.'
3201
3202
});
3202
3203
3203
3204
// delay
3204
3205
html+=this.getFormRow({
3205
3206
id: 'd_et_delay_desc',
3206
3207
label: 'Description:',
3207
-
content: 'This option allows you to set a custom delay for each job launched by the scheduler. This does not affect jobs launched manually in the UI or via the API.'
3208
+
content: 'This modifier allows you to set a custom delay for each job launched by the scheduler. This does not affect jobs launched manually in the UI or via the API.'
content: 'This option allows you to set the precise seconds when each job should launch via the scheduler. This does not affect jobs launched manually in the UI or via the API.'
3276
+
content: 'This modifier allows you to set the precise seconds when each job should launch via the scheduler. This does not affect jobs launched manually in the UI or via the API.'
content: 'This modifier allows you to hide jobs from the UI, and/or delete jobs after completion. This does not affect jobs launched manually in the UI or via the API.'
3301
+
});
3302
+
3303
+
// quiet invisible
3304
+
html+=this.getFormRow({
3305
+
id: 'd_et_quiet_invisible',
3306
+
label: 'Visibility:',
3307
+
content: this.getFormCheckbox({
3308
+
id: 'fe_et_quiet_invisible',
3309
+
label: 'Invisible Jobs',
3310
+
checked: !!trigger.invisible
3311
+
}),
3312
+
caption: 'Make all running jobs completely invisible to the UI.'
3313
+
});
3314
+
3315
+
// quiet ephemeral
3316
+
html+=this.getFormRow({
3317
+
id: 'd_et_quiet_ephemeral',
3318
+
label: 'Permanence:',
3319
+
content: this.getFormCheckbox({
3320
+
id: 'fe_et_quiet_ephemeral',
3321
+
label: 'Ephemeral Jobs',
3322
+
checked: !!trigger.ephemeral
3323
+
}),
3324
+
caption: 'Delete all jobs after completion. Note that if a job produces output files, it automatically disables ephemeral mode.'
3325
+
});
3326
+
3295
3327
// timezone (shared by schedule and crontab types)
0 commit comments