2022-03-04 15:38:44 +01:00
|
|
|
---
|
|
|
|
- name: "cron | Setze Umgebungsvariablen"
|
2023-03-19 01:12:43 +01:00
|
|
|
ansible.builtin.cron:
|
2022-03-04 15:38:44 +01:00
|
|
|
user: "{{ zammad_user }}"
|
|
|
|
name: RAILS_ENV
|
|
|
|
job: production
|
|
|
|
env: true
|
|
|
|
|
|
|
|
- name: "cron | Richte cron ein"
|
2023-03-19 01:12:43 +01:00
|
|
|
ansible.builtin.cron:
|
2022-03-04 15:38:44 +01:00
|
|
|
user: "{{ zammad_user }}"
|
|
|
|
name: "Loesche unbenutzte Zammad-Kunden"
|
|
|
|
minute: "1"
|
|
|
|
hour: "1"
|
|
|
|
day: "1"
|
|
|
|
job: " cd {{ zammad_home }} && chronic rbenv exec rails r {{ local_scripts_dir }}/zammad-delete-customers.rb"
|