Ci-dessous, les différences entre deux révisions de la page.
— |
doc:dak:analyse_usr_share_doc_dak_crontabs_cron.unchecked-non-us [2005/09/19 15:38] (Version actuelle) lehobey créée |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | <file> | ||
+ | #! /bin/sh | ||
+ | set -e | ||
+ | export SCRIPTVARS=/org/non-us.debian.org/katie/vars-non-US | ||
+ | . $SCRIPTVARS | ||
+ | |||
+ | cd $unchecked | ||
+ | |||
+ | changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs) | ||
+ | report=$queuedir/REPORT | ||
+ | timestamp=$(date "+%Y-%m-%d %H:%M") | ||
+ | |||
+ | if [ ! -z "$changes" ]; then | ||
+ | echo "$timestamp": "$changes" >> $report | ||
+ | jennifer -a $changes >> $report | ||
+ | echo "--" >> $report | ||
+ | else | ||
+ | echo "$timestamp": Nothing to do >> $report | ||
+ | fi; | ||
+ | </file> |