23,121
社区成员
发帖
与我相关
我的任务
分享
if [ "$rtn" -ge 1 ]; then
echo "0"
exit 0
else
echo "1"
exit 100
fi
#!/bin/bash
vday=$1
while true;
do
vexists=`sh /home/oracle/shell/new/autoTaskFinish.sh $1`
echo $vexists
if [ $vexists -eq 0 ]; then
echo "autotask is finished."
fi
# if [[ "$vexists" -eq 0 ]]; then
# echo "autotask is finished."
# break
# else
# echo "autotask is not finished. continue....."
# echo "sleep 5s"
# sleep 2s
# fi
done