Skip to content

Commit 3728b37

Browse files
committed
Added a cront script to be called every 15 minutes
- Legacy-Id: 17331
1 parent 8f22801 commit 3728b37

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

bin/every15m

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# datatracker jobs to run every 15 minutes
4+
#
5+
# This script is expected to be triggered by cron from
6+
# /etc/cron.d/datatracker
7+
8+
export LANG=en_US.UTF-8
9+
export PYTHONIOENCODING=utf-8
10+
11+
DTDIR=/a/www/ietf-datatracker/web
12+
cd $DTDIR/
13+
14+
# Set up the virtual environment
15+
source $DTDIR/env/bin/activate
16+
17+
logger -p user.info -t cron "Running $DTDIR/bin/every15m"
18+
19+
20+
21+
22+

0 commit comments

Comments
 (0)