Cycle every Thursday and Saturday

Hi,

I want to run a cycle every Thursday and Saturday. The following code accomplishes what I need. However, I am curious to know if there is an alternative approach to achieve the same result. For instance, how can I avoid duplicating the graph?

[scheduling]
initial cycle point = 2023-08-03
initial cycle point constraints = W-4

[[graph]]
    P1W = "task3[-P5D] => task1 => task2 => task3"
    R/^+P2D/P1W = "task3[-P2D] => task1 => task2 => task3"
1 Like

I could be wrong, but I doubt that it’s possible to express “every Thursday and Saturday” in a single recurrence expression.

However, to avoid replicating the graph configuration you can store the common part of the graph in a Jinja2 variable (and print it in both graph strings).

1 Like