#!/bin/bash run_mode="" if(($#==1)) then run_mode=$1 else exit -1 fi if [[ "$run_mode" != "run" ]] then exit -1 fi dd=$(date +%Y%m%d) start_date=$dd end_date=$start_date start_hour=00 end_hour=23 # 0. abs path abs_path=$(cd `dirname $0`; pwd) log_file="${abs_path}/logs/${dd}_t0.log" # 1. make data table=dwd_recsys_alg_sample_all_20250905 make_sh="${abs_path}/make_data.sh" echo `date` "sh +x $make_sh $start_date $end_date $start_hour $end_hour $table" >> $log_file sh +x $make_sh $start_date $end_date $start_hour $end_hour $table >> $log_file 2>&1 & wait