From 05c5feac6a500f2273ecebf79284708d63d68890 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 20 Oct 2018 18:11:39 +0200 Subject: [PATCH] Trash crontab mails after 6m --- Code.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code.js b/Code.js index e065b1a..c1d823f 100644 --- a/Code.js +++ b/Code.js @@ -2,9 +2,10 @@ var MAX_DELETE_PER_LOOP = 1000 function cleanup() { - trashByQuery("older_than:10y") + trashByQuery("label:crontab older_than:6m") trashByQuery("label:newsletter older_than:6m") trashByQuery("label:social-media older_than:2y") + trashByQuery("older_than:10y") } function trashByQuery(query) {