Author: geissert Date: 2012-04-15 19:27:32 +0000 (Sun, 15 Apr 2012) New Revision: 18956 Added: check-external/cronjob.sh Log: Add script that is meant to be executed by a cronjob Added: check-external/cronjob.sh ==================================================================--- check-external/cronjob.sh (rev 0) +++ check-external/cronjob.sh 2012-04-15 19:27:32 UTC (rev 18956) @@ -0,0 +1,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 Property changes on: check-external/cronjob.sh ___________________________________________________________________ Added: svn:executable + *