summaryrefslogtreecommitdiffstats
path: root/check-external/cronjob.sh
blob: 46c107a7fdac44bcd32ba9d4fb3f203a7e1ab730 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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
echo 'ca-certificate=/etc/ssl/ca-global/ca-certificates.crt' >> .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