- name: set cron mailto
  cron:
    env: yes
    name: MAILTO
    value: vagrant@localhost

- name: cron remove-idle-group-members
  cron:
    name: cron remove-idle-group-members
    hour: 7
    minute: 0
    job: 'cd /vagrant; ./scripts/remove_idle_group_members.pl'

- name: cron collectstats
  cron:
    name: cron collectstats
    hour: 7
    minute: 0
    job: 'cd /vagrant; ./collectstats.pl'


- name: cron whine
  cron:
    name: cron whine
    user: apache
    minute: '*/15'
    job: 'cd /vagrant; ./whine.pl'

- name: cron clean-bug-user-last-visit
  cron:
    name: cron clean-bug-user-last-visit
    user: apache
    hour: 7
    minute: 0
    job: 'cd /vagrant; ./clean-bug-user-last-visit.pl'

- name: request nagger
  cron:
    name: request nagger
    user: apache
    hour: 7
    minute: 30
    job: 'cd /vagrant; ./extensions/RequestNagger/bin/send-request-nags.pl'

- name: userprofile
  cron:
    name: userprofile
    user: apache
    hour: 7
    minute: 30
    job: 'cd /vagrant; ./extensions/UserProfile/bin/update.pl'
