File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#
55# This script is expected to be triggered by cron from
66# /etc/cron.d/datatracker
7+ export LANG=en_US.UTF-8
8+ export PYTHONIOENCODING=utf-8
79
810# Make sure we stop if something goes wrong:
911program=${0##*/ }
1012trap ' echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
1113
12- # Run the hourly jobs first
13- $DTDIR /bin/hourly
14-
1514# Datatracker directory
1615DTDIR=/a/www/ietf-datatracker/web
1716cd $DTDIR /
1817
1918logger -p user.info -t cron " Running $DTDIR /bin/daily"
2019
20+ # Run the hourly jobs first
21+ $DTDIR /bin/hourly
22+
2123# Set up the virtual environment
2224source $DTDIR /env/bin/activate
2325
Original file line number Diff line number Diff line change 44#
55# This script is expected to be triggered by cron from
66# /etc/cron.d/datatracker
7+ export LANG=en_US.UTF-8
8+ export PYTHONIOENCODING=utf-8
79
810# Make sure we stop if something goes wrong:
911program=${0##*/ }
@@ -70,6 +72,6 @@ mv $TMPFILE6 $DOWNLOAD/id-abstract.txt
7072mv $TMPFILE7 $ID /all_id2.txt
7173
7274# Create and update group wikis
73- $DTDIR /ietf/manage.py create_group_wikis
75+ # $DTDIR/ietf/manage.py create_group_wikis
7476
7577# exit 0
Original file line number Diff line number Diff line change 44#
55# This script is expected to be triggered by cron from
66# /etc/cron.d/datatracker
7+ export LANG=en_US.UTF-8
8+ export PYTHONIOENCODING=utf-8
79
810DTDIR=/a/www/ietf-datatracker/web
911cd $DTDIR /
Original file line number Diff line number Diff line change 44#
55# This script is expected to be triggered by cron from
66# /etc/cron.d/datatracker
7+ export LANG=en_US.UTF-8
8+ export PYTHONIOENCODING=utf-8
79
810DTDIR=/a/www/ietf-datatracker/web
911cd $DTDIR /
You can’t perform that action at this time.
0 commit comments