From 0a6c7367cf258d0cfd31d2b3b7c7f7dea04aac08 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Mon, 14 Oct 2019 14:11:04 +0200 Subject: [PATCH] Update main.yml killlogs added --- menu/prune/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/menu/prune/main.yml b/menu/prune/main.yml index 8eb6447f..41847574 100644 --- a/menu/prune/main.yml +++ b/menu/prune/main.yml @@ -23,3 +23,26 @@ job: 'jpurge 1>/dev/null 2>&1' state: present ignore_errors: yes + + - cron: + name: Build a Cron Job - Update Weekly + special_time: 'weekly' + job: 'update 1>/dev/null 2>&1' + state: present + ignore_errors: yes + + - cron: + name: Build a Cron Job - remove logs after reboot + special_time: 'reboot' + job: 'kill_log 1>/dev/null 2>&1' + state: present + ignore_errors: yes + + - cron: + name: Build a Cron Job - remove logs daily + special_time: 'daily' + job: 'killlog 1>/dev/null 2>&1' + state: present + ignore_errors: yes + +