Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 9a536c1a authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

bugfix

parent 15eddfdc
......@@ -260,8 +260,8 @@ fi
IRODS_REPORT=reports/$(date +%Y%m%d-%H%M).csv
imkdir -p reports
iput -f $LOCAL_REPORT $IRODS_REPORT
rm $RESIFDD_WORKDIR/report.lock
rm $RESIFDD_WORKDIR/*.tar
rm -f $RESIFDD_WORKDIR/report.lock
rm -f $RESIFDD_WORKDIR/*.tar
##################
#
......@@ -269,12 +269,12 @@ rm $RESIFDD_WORKDIR/*.tar
#
##################
KEY="validated-seismic-metadata"
MONTH=$(date +%Y-%m)
if [[ -r $RECOVERY_FILE ]] && egrep -q -e ".*($KEY ).*( OK | Skipped ).*" $RECOVERY_FILE ; then
format_report $KEY "-" $(date +%Y-%m-%dT%H:%M:%S) "-" "-" "Skipped" >> $LOCAL_REPORT
else
# Get the snapshot name for this month
MONTH=$(date +%Y-%m)
SNAPSHOT_DIR=$(ls -d $RESIFDD_DATADIR/validated_seismic_metadata/.snapshot/monthly.${MONTH}*|tail -1)
if [[ ! -d $SNAPSHOT_DIR ]]; then
echo "Error 000 Snapshot directory $SNAPSHOT_DIR does not exist"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment