You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
429 B

  1. {% from 'common.jinja2' import app_dir, app_username, bin_dir %}
  2. data-cleanup-cronjob:
  3. cron.present:
  4. - name: {{ bin_dir }}/python -c "from scripts.clean_private_data import clean_all_data; clean_all_data('{{ app_dir }}/{{ pillar['ini_file'] }}')"
  5. - hour: 4
  6. - minute: 10
  7. generate-site-icons-cronjob:
  8. cron.present:
  9. - name: /usr/local/bin/generate-site-icons
  10. - user: {{ app_username }}
  11. - minute: '*/5'