Cleanup tasks
This commit is contained in:
parent
397a98ffd4
commit
180ae1f444
6 changed files with 156 additions and 1 deletions
|
|
@ -217,3 +217,29 @@ paths:
|
|||
description: "Not found"
|
||||
400:
|
||||
description: "Invalid data"
|
||||
"/tasks/cleanup":
|
||||
get:
|
||||
summary: "Delete events inactive for more than 3 months"
|
||||
operationId: "taskCleanup"
|
||||
tags:
|
||||
- tasks
|
||||
responses:
|
||||
200:
|
||||
description: "OK"
|
||||
404:
|
||||
description: "Not found"
|
||||
400:
|
||||
description: "Not called from a cron job"
|
||||
"/tasks/legacyCleanup":
|
||||
get:
|
||||
summary: "Delete events inactive for more than 3 months that don't have a visited date"
|
||||
operationId: "taskLegacyCleanup"
|
||||
tags:
|
||||
- tasks
|
||||
responses:
|
||||
200:
|
||||
description: "OK"
|
||||
404:
|
||||
description: "Not found"
|
||||
400:
|
||||
description: "Not called from a cron job"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue