pull/504/head
Mr Chen 2 years ago
parent fbe211b3ec
commit 7d4c4a9ef9
  1. 5
      class/core/cert_api.py
  2. 4
      cli.sh

@ -123,6 +123,11 @@ class cert_api:
return True
def createCertCron(self):
if mw.isAppleSystem():
print('在Macos上不支持创建证书自动续签任务!')
return ''
# 创建证书自动续签任务
try:
import crontab_api

@ -46,6 +46,10 @@ mw_start(){
mw_start_debug(){
if [ ! -f $DIR/logs/task.log ];then
echo '' > $DIR/logs/task.log
fi
python3 task.py >> $DIR/logs/task.log 2>&1 &
port=7200
if [ -f /www/server/mdserver-web/data/port.pl ];then

Loading…
Cancel
Save