Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 56b831d9 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

feat: cron task to autoupdate Yunohost daily

parent 2e8dacdd
No related branches found
No related tags found
1 merge request!18✅Resolve "How to auto update apps"
Pipeline #3148 passed with warnings
...@@ -32,3 +32,14 @@ ...@@ -32,3 +32,14 @@
loop_control: loop_control:
loop_var: ynh_app loop_var: ynh_app
when: ynh_app.label not in ynh_installed_apps.values() when: ynh_app.label not in ynh_installed_apps.values()
- name: Creates a cron file under /etc/cron.d to auto-update Yunohost everyday
ansible.builtin.cron:
name: "auto-update Yunohost everyday at 12.
Logs can be found in /var/log/yunohost/categories/operation"
hour: "12"
user: root
job: "yunohost tools update && \
yunohost tools upgrade system && \
yunohost tools upgrade apps"
cron_file: ynh_autoupdate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment