#!/bin/bash
. "$(dirname "$0")"/readconf

# status file
statusfile="$WEBOBS_RACINE_OUTPUT_MATLAB/$WEBOBS_STATIONS_STATUS_FILE"

# proc
proc="$WEBOBS_RACINE_TOOLS_SHELLS/run_mcc_proc run_gamit.sh"

# delete status file
rm -f $statusfile

for conf in CGPSOVPF CGPSANTI CGPSOVSM CGPSOVSG; do
	$proc $conf
done

# moves status file to web
mv -f $statusfile "$WEBOBS_RACINE_WEB/$WEBOBS_FILE_WEB_ETATS"

