Added a cront script to be called every 15 minutes
- Legacy-Id: 17331
This commit is contained in:
parent
8f2280130b
commit
3728b37629
22
bin/every15m
Executable file
22
bin/every15m
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
# datatracker jobs to run every 15 minutes
|
||||
#
|
||||
# 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/every15m"
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue