3 export SCRIPTVARS=/org/backports.org/dak-config/vars
6 LOCKFILE="$lockdir/unchecked.lock"
7 NOTICE="$lockdir/daily.lock"
11 if [ ! -z $LOCKDAILY ]; then
17 # only run one cron.unchecked
18 if lockfile -r3 $LOCKFILE; then
21 changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
22 report=$queuedir/REPORT
23 timestamp=$(date "+%Y-%m-%d %H:%M")
25 if [ ! -z "$changes" ]; then
26 echo "$timestamp": "$changes" >> $report
27 dak process-unchecked -a $changes >> $report
30 echo "$timestamp": Nothing to do >> $report