Update index.py

This commit is contained in:
dami 2025-05-01 15:29:14 +08:00
parent 7e3f40cb20
commit b01a2d15de
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ def msgRunLog():
def cronRunLog():
if os.path.exists('/var/log/syslog.log'):
return '/var/log/syslog.log'
if os.path.exists('/var/log/syslog'):
return '/var/log/syslog'
return '/var/log/cron'