# Delete calendar event when tasks is done

**URL:** <https://help.nextcloud.com/t/delete-calendar-event-when-tasks-is-done/216731>\
**Category:** ℹ️ Support\
**Tags:** nc28, android, tasks-app, ncp, calendar-app\
**Created:** [February 5, 2025, 9:59am UTC](https://help.nextcloud.com/t/delete-calendar-event-when-tasks-is-done/216731 "2025-02-05T09:59:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multipass](https://help.nextcloud.com/letter_avatar/multipass/32/5_5575768a8748004e209b776fc1b2916d.png) [@Multipass](https://help.nextcloud.com/u/Multipass)\
**Post date:** [February 5, 2025, 9:59am UTC](https://help.nextcloud.com/t/delete-calendar-event-when-tasks-is-done/216731/1 "2025-02-05T09:59:37Z")

</div>

Hi,

## The Basics

Nextcloud version : 28.0.14.1  
Operating system and version : Armbian-unofficial 24.2.1 Bookworm \l . 6.6.18-current-bcm2711 (aarch64)  
Debian 12 bookworm  
Apache or nginx version : Apache 2.4.62 (Debian)  
PHP version : 8.1.31

### Summary of the issue you are facing:

I didn’t found exactly the same questions in the forum, so here it is : is it possible to make that once a task is done, it also deletes the calendar event associated (or most likely created at the same time) ?

Not sure this is an “issue” per se, most likely a lack in my understanding of how things work…

> **[Auto-delete calendar events for completed tasks · tasks tasks · Discussion #2133](https://github.com/tasks/tasks/discussions/2133)**
>
> The option to manually delete calendar events for completed tasks is nice, however, I'd like the option that calendar events would be auto-deleted when a task is marked complete. Or is that already...

Posting here again in case some of you managed to do some magic around this :

* * *

I definitly want to see the task and task duration in my calendar. I can certainly delete the calendar element of a task manually, and only see the task in NextCloud celndar (and task), but then, it won’t show in my SimpleCalendar app on Android.

So somehow, I have to have :

- Add Task in [Tasks.org](http://Tasks.org) app (Android)
- Which creates a tasks AND a calendar element (in NextCloud through CalDav sync)
- Which then synchronize only the Calendar element from NextCloud to SimpleCalendar (on Android through Davx5 - it shows CalDav in the SimpleCalendar app, but really, it’s managed via Davx5)

So of course, when a task is finished, it disapears from the NextCloud tasks list, but not from the NextCloud calendar nor the Android SimpleCalendar app…

Not sure what the hiccup is here…

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [May 6, 2025, 9:59am UTC](https://help.nextcloud.com/t/delete-calendar-event-when-tasks-is-done/216731/2 "2025-05-06T09:59:40Z")

</div>

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