#!/bin/bash # Weekly datatracker jobs. # # This script is expected to be triggered by cron from # /etc/cron.d/datatracker export LANG=en_US.UTF-8 export PYTHONIOENCODING=utf-8 DTDIR=/a/www/ietf-datatracker/web cd $DTDIR/ # Set up the virtual environment source $DTDIR/env/bin/activate logger -p user.info -t cron "Running $DTDIR/bin/weekly" # Send out weekly summaries of apikey usage $DTDIR/ietf/manage.py send_apikey_usage_emails # Send notifications about coming expirations $DTDIR/ietf/bin/notify-expirations