Scheduled tasks with breaks

We have a scheduled task, running daily every 5 minute. We need to find a solution where this job “takes a break” on Sundays between 00:00 and 06:00.

Any good ideas on how to solve this?

Litium version: 6

Set it in the first line of code in the task, either hard-coded or by passing configuration as a parameter to the task.

Thank you Mårten for the tip. We will implement a hard-coded schedule break within the task.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.