mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 19:22:46 +08:00
cron
This commit is contained in:
parent
0a57830925
commit
235be5da0c
@ -54,13 +54,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#check=$(ps aux | grep -w ./${cron_task_name} | grep -v grep | wc -l)
|
check=$(ps aux | grep -w ./${cron_task_name} | grep -v grep | wc -l)
|
||||||
#if [ $check -ge 1 ]; then
|
if [ $check -ge 1 ]; then
|
||||||
# echo -e ${GREEN_PREFIX}"none port has been listening,belongs service is openImCronTask"${COLOR_SUFFIX}
|
echo -e ${GREEN_PREFIX}"none port has been listening,belongs service is openImCronTask"${COLOR_SUFFIX}
|
||||||
#else
|
else
|
||||||
# echo -e ${RED_PREFIX}"cron_task_name service does not start normally"${COLOR_SUFFIX}
|
echo -e ${RED_PREFIX}"cron_task_name service does not start normally"${COLOR_SUFFIX}
|
||||||
# echo -e ${RED_PREFIX}"please check ../logs/openIM.log "${COLOR_SUFFIX}
|
echo -e ${RED_PREFIX}"please check ../logs/openIM.log "${COLOR_SUFFIX}
|
||||||
# exit -1
|
exit -1
|
||||||
#fi
|
fi
|
||||||
#
|
|
||||||
#echo -e ${YELLOW_PREFIX}"all services launch success"${COLOR_SUFFIX}
|
echo -e ${YELLOW_PREFIX}"all services launch success"${COLOR_SUFFIX}
|
||||||
|
@ -10,7 +10,7 @@ need_to_start_server_shell=(
|
|||||||
sdk_svr_start.sh
|
sdk_svr_start.sh
|
||||||
msg_gateway_start.sh
|
msg_gateway_start.sh
|
||||||
demo_svr_start.sh
|
demo_svr_start.sh
|
||||||
# start_cron.sh
|
start_cron.sh
|
||||||
)
|
)
|
||||||
time=`date +"%Y-%m-%d %H:%M:%S"`
|
time=`date +"%Y-%m-%d %H:%M:%S"`
|
||||||
echo "==========================================================">>../logs/openIM.log 2>&1 &
|
echo "==========================================================">>../logs/openIM.log 2>&1 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user