Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fixes expiration of the weekly task

Trenton H8181535f4059
diff --git a/src/paperless/settings.py b/src/paperless/settings.py
index fcd933cfd..fa0f76a91 100644
--- a/src/paperless/settings.py
+++ b/src/paperless/settings.py
@@ -166,8 +166,7 @@ def _parse_beat_schedule() -> Dict:
"task": "documents.tasks.sanity_check",
"options": {
# 1 hour before default schedule sends again
- "expires": 7.0
- * 23.0
+ "expires": ((7.0 * 24.0) - 1.0)
* 60.0
* 60.0,
},