mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-23 12:58:18 -05:00
Minor stuff
This commit is contained in:
parent
8454182c72
commit
0f7b05d4d2
@ -4387,29 +4387,29 @@
|
||||
<context context-type="linenumber">123</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="3676850495488145564" datatype="html">
|
||||
<source>Offset</source>
|
||||
<trans-unit id="4779176004576564638" datatype="html">
|
||||
<source>Offset days</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">126</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="1053165610360608412" datatype="html">
|
||||
<source>Offset in days. Use 0 for immediate.</source>
|
||||
<trans-unit id="8816141193078203810" datatype="html">
|
||||
<source>Use 0 for immediate.</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">126</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="3571391964903695725" datatype="html">
|
||||
<source>Repeat</source>
|
||||
<trans-unit id="1011433830042635014" datatype="html">
|
||||
<source>Recurring</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">127</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="59662776949594121" datatype="html">
|
||||
<source>Repeat the trigger after the delay.</source>
|
||||
<trans-unit id="4951638563945393327" datatype="html">
|
||||
<source>Repeat the trigger after the offset.</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html</context>
|
||||
<context context-type="linenumber">127</context>
|
||||
|
@ -123,8 +123,8 @@
|
||||
<p class="small" i18n>Set scheduled trigger offset and which field to use.</p>
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<pngx-input-number i18n-title title="Offset" formControlName="schedule_offset_days" i18n-hint hint="Offset in days. Use 0 for immediate." [showAdd]="false" [error]="error?.schedule_offset_days"></pngx-input-number>
|
||||
<pngx-input-check i18n-title title="Repeat" formControlName="schedule_is_recurring" i18n-hint hint="Repeat the trigger after the delay." [error]="error?.schedule_is_recurring"></pngx-input-check>
|
||||
<pngx-input-number i18n-title title="Offset days" formControlName="schedule_offset_days" i18n-hint hint="Use 0 for immediate." [showAdd]="false" [error]="error?.schedule_offset_days"></pngx-input-number>
|
||||
<pngx-input-check i18n-title title="Recurring" formControlName="schedule_is_recurring" i18n-hint hint="Repeat the trigger after the offset." [error]="error?.schedule_is_recurring"></pngx-input-check>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<pngx-input-select i18n-title title="Relative to" formControlName="schedule_date_field" [items]="scheduleDateFieldOptions" [error]="error?.schedule_date_field"></pngx-input-select>
|
||||
|
@ -398,9 +398,9 @@ def check_scheduled_workflows():
|
||||
and workflow_runs.exists()
|
||||
and workflow_runs.last().run_at > timezone.now() - offset_td
|
||||
):
|
||||
# schedule is recurring but the last run was within the delay
|
||||
# schedule is recurring but the last run was within the offset
|
||||
logger.debug(
|
||||
f"Skipping document {document} for recurring workflow {workflow} as the last run was within the delay",
|
||||
f"Skipping document {document} for recurring workflow {workflow} as the last run was within the offset",
|
||||
)
|
||||
continue
|
||||
run_workflows(
|
||||
|
Loading…
x
Reference in New Issue
Block a user