Files
caldav_recurring_task/tasks.example.yml

55 lines
1.3 KiB
YAML

# see http://dateutil.readthedocs.io/en/stable/rrule.html
# freq, dtstart=None, interval=1, wkst=None, count=None, until=None, bysetpos=None,
# bymonth=None, bymonthday=None, byyearday=None, byeaster=None, byweekno=None, byweekday=None,
# byhour=None, byminute=None, bysecond=None, cache=False
# Where freq must be one of YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, or SECONDLY.
monthly_task:
start:
freq: MONTHLY
bymonthday: 1
duration:
days: 10
title: Monthly task
body: A task that is created once a month and starts on the first day of the month
priority: 1
other_monthly_task:
start:
freq: MONTHLY
bymonthday: -5
duration:
days: 5
title: Another Monthly task
body: A task that is created once a month and starts five days before the end of the month
priority: 1
daily_task:
start:
freq: DAILY
duration:
days: 1
title: A Daily task
body: This a task that is created everyday
priority: 1
yearly_task:
start:
freq: YEARLY
byyearday: 10
duration:
days: 60
title: A Yearly task
body: This a task that is created once a year, on the tenth day of the year
priority: 1
another_yearly_task:
start:
freq: YEARLY
byweekno: 4
duration:
days: 60
title: A Yearly task
body: This a task that is created once a year, on the fourth week of the year
priority: 1