chore: remove do-nothing cron script (#7358)
This commit is contained in:
parent
bfa35fb6d8
commit
2767fc55d2
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Hourly datatracker jobs, ***run as mailman***
|
|
||||||
#
|
|
||||||
# This script is expected to be triggered by cron from
|
|
||||||
# $DTDIR/etc/cron.d/datatracker which should be symlinked from
|
|
||||||
# /etc/cron.d/
|
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
|
||||||
export PYTHONIOENCODING=utf-8
|
|
||||||
|
|
||||||
# Make sure we stop if something goes wrong:
|
|
||||||
program=${0##*/}
|
|
||||||
trap 'echo "$program($LINENO): Command failed with error code $? ([$$] $0 $*)"; exit 1' ERR
|
|
||||||
|
|
||||||
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/mm_hourly"
|
|
||||||
|
|
Loading…
Reference in a new issue