我有一个包含我的代码的脚本:
# scheduling details for abc.sas, first status check after 1 hr , status check interval is 30 mins
execute "claimant.sas"
echo "execute function done for abc.sas"
execution_check "ERA_abc" "3600"
status_check "ERA_abc" "abc.log" "1800" "abc.sas" "3600"
echo "status check done for abc.sas"
echo
echo
# scheduling details for dce.sas, first status check after 1 hr , status check interval is 30 mins
execute "dce.sas"
echo "execute function done for dce.sas"
execution_check "ERA_dce" "3600"
status_check "ERA_dce" "dce.log" "1800" "dce.sas" "3600"
echo "status check done for dce.sas"
echo
echo
......
现在我的问题是一旦我触发我的 bash 脚本,那么 ERA_abc 一旦完成就开始运行 ERA_dce 应该立即运行,但有时需要一个小时才能触发?
你能帮我了解原因和解决方案吗?谢谢