##################################### # input the following 3 parametera" # envir: # CDATE: # COM ##################################### export CDATE=$1 export envir=para export COM=/com/gens/${envir} ################################## # no need to modifya the following ################################## nhours=/nwprod/util/exec/ndate ndays=1 iday=1 while [ $iday -le $ndays ]; do PDY=`echo $CDATE | cut -c1-8` cyc=`echo $CDATE | cut -c9-10` check_cmc.sh > output_check_cmc_$envir.$CDATE & check_gefs.sh > output_check_gefs_$envir.$CDATE & check_fnmoc.sh > output_check_fnmoc_$envir.$CDATE & check_naefs.sh > output_check_naefs_$envir.$CDATE & iday=`expr $iday + 1` CDATE=`$nhours +24 $CDATE` done