From ae00a274ea11ca0001f4c7846d727f2947030b51 Mon Sep 17 00:00:00 2001 From: Perflyst Date: Fri, 25 Jan 2019 19:38:56 +0100 Subject: [PATCH] Cronjob output to /dev/null --- Database-Information-and-Maintenance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Database-Information-and-Maintenance.md b/Database-Information-and-Maintenance.md index 07a537c..7303fab 100644 --- a/Database-Information-and-Maintenance.md +++ b/Database-Information-and-Maintenance.md @@ -16,6 +16,6 @@ $ exit For regular maintenance you should add a cronjob for these commands ```bash -@weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp" -@weekly psql invidious -c "TRUNCATE TABLE videos" +@weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp" > /dev/null +@weekly psql invidious -c "TRUNCATE TABLE videos" > /dev/null ``` \ No newline at end of file