summaryrefslogtreecommitdiffstats
path: root/check-external/cronjob.sh
blob: e75f8f79960b077801e55ba9efa685b51f337265 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -eu

cd "$(dirname "$0")"

renice -n 20 -p $$ >/dev/null
ionice -c 3 -p $$

HOME=$PWD
export HOME

svn up ../data/CVE >/dev/null

echo 'verbose = off' > .wgetrc
output="$(./update.sh 2>&1)" || {
    es=$?
    echo "$output"
    exit $es
}

./lookup.sh | grep -v NOT-FOR-US

© 2014-2024 Faster IT GmbH | imprint | privacy policy