Files
caldav_recurring_task/README.md

31 lines
788 B
Markdown

# CalDav Recurring Tasks Generator
This script is made to be ran once a day. It will create CalDav tasks as described in file tasks.yml. The tasks are created 2 days ahead of their tasks
## Configuration
Update configuration.yml file with caldav server url, calendar name, username and password
Describe recurring tasks in tasks.yml file
task_name:
start:
freq: MONTHLY
bymonthday: -5
duration:
days: 5
title: A title for the task
body: A body for the task
priority: 1
See https://dateutil.readthedocs.io/en/stable/rrule.html for more information on the start section syntax
## Usage
./main.py
## TODO
Task:
- Remove completed tasks on new occurence creation
- Allow the script to run several times on the same day