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

set -eu

cd "$(dirname "$0")"

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

HOME=$PWD
export HOME

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