独角兽企业重金招聘Python工程师标准>>>
#!/bin/bash
while [ 1 ]
do
SendMail_is_exstit=$(ps -ef | grep "feed SendMail" | grep -v grep | wc -l)
if [ ${SendMail_is_exstit} == 0 ]
then
cd /var/www/sdkfeed/
./app/Console/cake SendMail
fi
sleep 60
done
时间:2019-01-01 21:23:58
独角兽企业重金招聘Python工程师标准>>>
#!/bin/bash
while [ 1 ]
do
SendMail_is_exstit=$(ps -ef | grep "feed SendMail" | grep -v grep | wc -l)
if [ ${SendMail_is_exstit} == 0 ]
then
cd /var/www/sdkfeed/
./app/Console/cake SendMail
fi
sleep 60
done