Skip to content

Commit dc385ea

Browse files
committed
Added a script to be run hourly by cron as user mailman (in order to have permission to access the mailman databases)
- Legacy-Id: 11392
1 parent 776ed3b commit dc385ea

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

bin/mm_hourly

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
# Hourly datatracker jobs, run as mailman
4+
#
5+
# This script is expected to be triggered by cron from
6+
# $DTDIR/etc/cron.d/datatracker which should be symlinked from
7+
# /etc/cron.d/
8+
9+
DTDIR=/a/www/ietf-datatracker/web
10+
cd $DTDIR/
11+
12+
# Set up the virtual environment
13+
source $DTDIR/bin/activate
14+
15+
$DTDIR/ietf/manage.py import_mailman_listinfo

0 commit comments

Comments
 (0)