summaryrefslogtreecommitdiff
path: root/roles/docker-publishing/templates/llp-crontab.cron
blob: eeaef2ed6f09f9abe25a447627c5119107bbb8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# DO NOT EDIT: MANAGED BY ANSIBLE
MAILTO=linaro-infrastructure-errors@lists.linaro.org
{% for site_info in sites %}
{%   for site,attrs in site_info.items() %}
{%      if attrs.has_key('process_report') %}
*/10 * * * * root docker exec {{site}} /srv/linaro-license-protection/manage.py report_process --settings=settings_production
{%      endif %}
{%      if attrs.has_key('s3_sanity') %}
0 0 * * * root docker exec {{site}} /srv/linaro-license-protection/manage.py s3_sanity --settings=settings_production
{%      endif %}
{%      if attrs.has_key('s3_purge') %}
0 0 * * 0 root docker exec {{site}} /srv/linaro-license-protection/manage.py s3_purge --settings=settings_production {{attrs['s3_purge_options']|default('')}}
{%      endif %}
{%   endfor %}
{% endfor %}