Feature request: Timed manual runs #7

Open
opened 2022-09-02 10:26:24 +02:00 by JeroenED · 0 comments
Owner

When manually running a job a time should be selectable. The would allow triggering a manual run which will actually be run hours later (eg. unplanned scheduled sync)

Why do we need this?

We need this because sometimes we want to trigger a manual run. However, jobs can trigger performance issues. So triggering them at night should be a better way to go. However, humans are no vampires and sleep at night.

Design

The basics for this are already there. For reboot jobs the database field running is set to the timestamp of when get services command should be run. When setting this for other jobs this currently triggers a fatal error as this is not being reset and will trigger a run over and over and over. This last issue should be covered.

When manually running a job a time should be selectable. The would allow triggering a manual run which will actually be run hours later (eg. unplanned scheduled sync) ## Why do we need this? We need this because sometimes we want to trigger a manual run. However, jobs can trigger performance issues. So triggering them at night should be a better way to go. However, humans are no vampires and sleep at night. ## Design The basics for this are already there. For reboot jobs the database field `running` is set to the timestamp of when get services command should be run. When setting this for other jobs this currently triggers a fatal error as this is not being reset and will trigger a run over and over and over. This last issue should be covered.
JeroenED added the
enhancement
label 2022-09-02 10:26:24 +02:00
JeroenED added this to the Release 2.0 project 2022-09-02 10:31:11 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: webcron/webcron#7
No description provided.