Changeset af73296 in intercambio for smid_carga_inicial.sh
- Timestamp:
- Mar 27, 2014, 10:43:12 AM (10 years ago)
- Branches:
- master
- Children:
- 4bbaf19
- Parents:
- 12eaa49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smid_carga_inicial.sh
r771e299 raf73296 26 26 rm -rf job_cargar_dimensiones_grupo_* 27 27 28 echo "Comenzando a ejecutar los Jobs" 28 29 echo "Eliminando archivos bandera" 29 ./kitchen.sh -rep=smid_etl -user=admin -pass=admin -dir=carga_inicial -job=job_borrar_directorio_flag > job_borrar_d orectorio_flag.txt30 ./kitchen.sh -rep=smid_etl -user=admin -pass=admin -dir=carga_inicial -job=job_borrar_directorio_flag > job_borrar_directorio_flag.log 30 31 31 echo "Comenzando a ejecutar los Jobs" 32 echo 'Limpiando tablas de hechos' 33 echo ' ( 0%)' 34 $a > job_limpiar_grupo_1.log | tee >($b > job_limpiar_grupo_2.log) 35 echo '########## ( 30%)' 36 $c > job_limpiar_grupo_3.log | tee >($d > job_limpiar_grupo_4.log) 37 echo '#################### ( 60%)' 38 $e > job_limpiar_grupo_5.log | tee >($f > job_limpiar_grupo_6.log) 39 echo '############################## ( 90%)' 40 $g > job_limpiar_grupo_7.log 41 echo '#################################(100%)' 42 32 43 echo "Comienza carga de dimensiones" 33 $a > job_limpiar_grupo_1.txt | tee >($b > job_limpiar_grupo_2.txt) | tee >($c > job_limpiar_grupo_3.txt) | tee >($d > job_limpiar_grupo_4.txt) | tee >($e > job_limpiar_grupo_5.txt) | tee >($f > job_limpiar_grupo_6.txt) | tee >($g > job_limpiar_grupo_7.txt) | tee >($h > job_cargar_dimensiones_grupo_0.txt ) | tee >($i > job_cargar_dimensiones_grupo_1.txt ) | $j > job_cargar_dimensiones_grupo_2.txt 44 echo ' ( 0%)' 45 $h > job_cargar_dimensiones_grupo_0.log | tee >($i > job_cargar_dimensiones_grupo_1.log ) 46 echo '############################## ( 90%)' 47 $j > job_cargar_dimensiones_grupo_2.log 48 echo '#################################(100%)' 34 49 echo "Finalizada carga de dimensiones" 35 50 36 51 echo "Comienza carga de tablas de hechos" 37 $k > job_cargar_hechos_grupo_1.txt | tee >($l > job_cargar_hechos_grupo_2.txt) | tee >($m > job_cargar_hechos_grupo_3.txt) | tee >($n > job_cargar_hechos_grupo_4) | tee >($o > job_cargar_hechos_grupo_5.txt) | $p > job_cargar_hechos_grupo_6.txt 38 39 $q > job_cargar_hechos_grupo_7.txt 52 echo ' ( 0%)' 53 $k > job_cargar_hechos_grupo_1.log | tee >($l > job_cargar_hechos_grupo_2.log) 54 echo '########## ( 30%)' 55 $m > job_cargar_hechos_grupo_3.log | tee >($n > job_cargar_hechos_grupo_4.log) 56 echo '#################### ( 60%)' 57 $o > job_cargar_hechos_grupo_5.log | tee >($p > job_cargar_hechos_grupo_6.log) 58 echo '############################## ( 90%)' 59 $q > job_cargar_hechos_grupo_7.log 60 echo '#################################(100%)' 40 61 echo "Finalizada carga de tablas de hechos" 41 62 echo "Proceso Carga Inicial completado"
Note: See TracChangeset
for help on using the changeset viewer.