ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

cron.yml (325B)


      1 ---
      2 
      3 cron__host_jobs:
      4   "purge_old_media":
      5     user: "root"
      6     jobs:
      7       - name: "Purge old Synapse media"
      8         job: "curl --header 'Authorization: Bearer {{ synapse__admin_auth_token }}' -X POST localhost:8008/_synapse/admin/v1/purge_media_cache?before_ts=`date --date='-1 days' +\\%s\\%3N`"
      9     special_time: "daily"