# Recurrence syntax

**URL:** https://cylc.discourse.group/t/recurrence-syntax/894
**Category:** Cylc Support
**Created:** [February 20, 2024, 12:24pm UTC](https://cylc.discourse.group/t/recurrence-syntax/894 "2024-02-20T12:24:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![schaferk](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/schaferk/32/92_2.png) [@schaferk](https://cylc.discourse.group/u/schaferk)
#### Post date: [February 20, 2024, 12:24pm UTC](https://cylc.discourse.group/t/recurrence-syntax/894/1 "2024-02-20T12:24:35Z")

</div>

cylc 7 suite (yes 7)

task to run hourly except hours 00,01,02 at minutes 02,17,32,47 (every 15 minutes)

[scheduling]  
initial cycle point = previous(T-02; T-17; T-32; T-47)

I understood from documentation  
[9.3.4.3 Excluding Dates](https://cylc.github.io/cylc-doc/7.9.3/html/suite-config.html)

to exclude hours 00,01,02

[[dependencies]]  
[[[PT15M ! (T00, T01, T02)]]]

this does not seem to work though as the task was executed at 00:02,00:17,…,01:02,…

obviously, I/m missing something.

reading about ISO 8601 Recurrence syntax, I thought (but did not try)

R/2024-02-20T03:02:00Z/PT15M

as I want the suite to start at the nearest 02,17,32,47 of the hour regardless of the date, e.g. previous(T-02; T-17; T-32; T-47)

guidance gladly received.

---

<div class="post-metadata">

### Author: ![oliver.sanders](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/oliver.sanders/32/110_2.png) [@oliver.sanders](https://cylc.discourse.group/u/oliver.sanders)
#### Post date: [February 20, 2024, 1:02pm UTC](https://cylc.discourse.group/t/recurrence-syntax/894/2 "2024-02-20T13:02:40Z")

</div>

Hi,

(Cylc 7 / 8 work the same regards cycling recurrences)

T01 is short for T01:00.00, so `PT15M ! (T00, T01, T02)` is short for `PT15M ! (T0000, T0100, T0200)` which isn’t what you wanted.

So what you need is this:

```auto
PT15M ! (T0000, T0015, T0030, T0045, T0100, T0115, ...

```

---

<div class="post-metadata">

### Author: ![schaferk](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/schaferk/32/92_2.png) [@schaferk](https://cylc.discourse.group/u/schaferk)
#### Post date: [February 20, 2024, 1:13pm UTC](https://cylc.discourse.group/t/recurrence-syntax/894/3 "2024-02-20T13:13:10Z")

</div>

thank you os.  
obviously I didn/t read carefully regarding ‘is short for…’ in the cylc docs.
