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
497 B

{% from 'common.jinja2' import app_dir, app_username, bin_dir %}
data-cleanup-cronjob:
cron.present:
- name: {{ bin_dir }}/python -c "from scripts.clean_private_data import clean_all_data; clean_all_data('{{ app_dir }}/{{ pillar['ini_file'] }}')"
- hour: 4
- minute: 10
generate-site-icons-css-cronjob:
cron.present:
- name: {{ bin_dir }}/python -c "from scripts.generate_site_icons_css import generate_css; generate_css()"
- user: {{ app_username }}
- minute: '*/5'