|
@@ -48,7 +48,7 @@ max_minute=20
|
|
# 全局初始化
|
|
# 全局初始化
|
|
global_init() {
|
|
global_init() {
|
|
# 获取当前小时,确定需要使用的数据分区范围
|
|
# 获取当前小时,确定需要使用的数据分区范围
|
|
- local current_hour=$(date +%H)
|
|
|
|
|
|
+ local current_hour="$(date +%H)"
|
|
# if [ $current_hour -lt 08 ]; then
|
|
# if [ $current_hour -lt 08 ]; then
|
|
train_begin_str=${today_early_1}14
|
|
train_begin_str=${today_early_1}14
|
|
train_end_str=${today_early_1}21
|
|
train_end_str=${today_early_1}21
|
|
@@ -328,4 +328,8 @@ main() {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-main
|
|
|
|
|
|
+main
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+# nohup ./ad/02_ad_model_update_twice_daily.sh > logs/02_twice_daily.log 2>&1 &
|