From 48a370db4363b63631854b8e952bd19bf695a35b Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 27 Jul 2024 15:34:13 -0400 Subject: [PATCH] system: reboot cronjob this broke my server once so hopefully it doesn't happen again https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ --- roles/system/tasks/essential.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/system/tasks/essential.yml b/roles/system/tasks/essential.yml index 473dd41..7a7bd24 100644 --- a/roles/system/tasks/essential.yml +++ b/roles/system/tasks/essential.yml @@ -57,3 +57,11 @@ name: cronie state: started enabled: yes + +- name: Setup reboot cronjob + cron: + name: "Reboot system" + minute: 59 + hour: 11 + weekday: 5 + job: "reboot"