✨ feat(BackupCommand): Remplace le nom du fichier zip de sauvegarde par "backup.zip".
🐛 fix(ansible): Corrige le nom de la tâche cron "Mail event today". ✨ feat(ansible): Ajoute une tâche cron pour la commande de sauvegarde.
This commit is contained in:
@@ -241,7 +241,7 @@
|
||||
user: "root"
|
||||
job: "php {{ path }}/bin/console mainframe:cron:sync"
|
||||
state: present
|
||||
- name: "Cron Task sync"
|
||||
- name: "Mail event today"
|
||||
ansible.builtin.cron:
|
||||
name: "Mainframe - Event Today"
|
||||
minute: "50"
|
||||
@@ -249,6 +249,14 @@
|
||||
user: "root"
|
||||
job: "php {{ path }}/bin/console mainframe:event:today"
|
||||
state: present
|
||||
- name: "Backup - Mainframe"
|
||||
ansible.builtin.cron:
|
||||
name: "Mainframe - Event Today"
|
||||
minute: "0"
|
||||
hour: "7,14,17"
|
||||
user: "root"
|
||||
job: "php {{ path }}/bin/console mainframe:backup"
|
||||
state: present
|
||||
- name: Set correct permissions for Symfony cache and logs directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user