ansible-role-zammad/tasks/cron.yml

16 lines
412 B
YAML

---
- name: "cron | Setze Umgebungsvariablen"
cron:
user: "{{ zammad_user }}"
name: RAILS_ENV
job: production
env: true
- name: "cron | Richte cron ein"
cron:
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"