Run the mailman cronjobs under Py27 until mailman has been upgraded to version 3.x (running under Py3).
- Legacy-Id: 18342
This commit is contained in:
parent
2bf7481cef
commit
fa49790bbe
|
@ -13,7 +13,8 @@ export PYTHONIOENCODING=utf-8
|
||||||
program=${0##*/}
|
program=${0##*/}
|
||||||
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
|
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
|
||||||
|
|
||||||
DTDIR=/a/www/ietf-datatracker/web
|
# Note that we're using the last 2.7 release here, not the current release
|
||||||
|
DTDIR=/a/www/ietf-datatracker/py27
|
||||||
cd $DTDIR/
|
cd $DTDIR/
|
||||||
|
|
||||||
# Set up the virtual environment
|
# Set up the virtual environment
|
||||||
|
@ -22,4 +23,4 @@ source $DTDIR/env/bin/activate
|
||||||
logger -p user.info -t cron "Running $DTDIR/bin/mm_hourly"
|
logger -p user.info -t cron "Running $DTDIR/bin/mm_hourly"
|
||||||
|
|
||||||
## XXX commented out pending rewrite -- mailman 2 python interface is not available under Python 3
|
## XXX commented out pending rewrite -- mailman 2 python interface is not available under Python 3
|
||||||
# $DTDIR/ietf/manage.py import_mailman_listinfo
|
$DTDIR/ietf/manage.py import_mailman_listinfo
|
||||||
|
|
Loading…
Reference in a new issue