From c48b08cba05d5736d6d49d684d5c3cfa9f131842 Mon Sep 17 00:00:00 2001
From: Arthur BOUDREAULT <boudreaultarthur@ik.me>
Date: Thu, 18 Nov 2021 12:02:06 +0100
Subject: [PATCH] refactor: changed to special_time parameter daily

---
 tasks/apps.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tasks/apps.yml b/tasks/apps.yml
index f4717a9..cc0738f 100644
--- a/tasks/apps.yml
+++ b/tasks/apps.yml
@@ -35,9 +35,9 @@
 
 - name: Creates a cron file under /etc/cron.d to auto-update Yunohost everyday
   ansible.builtin.cron:
-    name: "auto-update Yunohost everyday at 12.
+    name: "auto-update Yunohost everyday.
            Logs can be found in /var/log/yunohost/categories/operation"
-    hour: "12"
+    special_time: "daily"
     user: root
     job: "yunohost tools update && \
           yunohost tools upgrade system && \
-- 
GitLab