PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::workflow::interval_schedule Struct Reference

Simple interval-based schedule. More...

#include <task_scheduler_config.h>

Collaboration diagram for kcenon::pacs::workflow::interval_schedule:
Collaboration graph

Public Attributes

std::chrono::seconds interval {3600}
 Interval between executions.
 
std::optional< std::chrono::system_clock::time_point > start_at
 Optional start time for first execution.
 

Detailed Description

Simple interval-based schedule.

Executes the task at fixed intervals.

Definition at line 40 of file task_scheduler_config.h.

Member Data Documentation

◆ interval

std::chrono::seconds kcenon::pacs::workflow::interval_schedule::interval {3600}

Interval between executions.

Definition at line 42 of file task_scheduler_config.h.

42{3600}; // Default: 1 hour

◆ start_at

std::optional<std::chrono::system_clock::time_point> kcenon::pacs::workflow::interval_schedule::start_at

Optional start time for first execution.

Definition at line 45 of file task_scheduler_config.h.


The documentation for this struct was generated from the following file: