ansible-role-zammad/tasks/cron.yml

17 lines
412 B
YAML
Raw Normal View History

2022-03-04 15:38:44 +01:00
---
- 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"