mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-26 09:32:26 +02:00
update to 6.8.37
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#coding: utf-8
|
||||
import sys,os,time
|
||||
os.chdir('/www/server/panel/')
|
||||
sys.path.insert(0,"class/")
|
||||
import public
|
||||
import http_requests
|
||||
http_requests.DEFAULT_TYPE = 'src'
|
||||
os.environ['BT_TASK'] = '1'
|
||||
|
||||
try:
|
||||
import panelPush
|
||||
import threading
|
||||
push = panelPush.panelPush()
|
||||
push.start()
|
||||
# os.system("echo yes,{} > /tmp/push.pl".format(time.time()))
|
||||
except Exception as e:
|
||||
pass
|
||||
# print("开启推送消息进程异常。")
|
||||
os.system("echo no,{},{} > /tmp/push.pl".format(time.time(),e))
|
||||
Reference in New Issue
Block a user