-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Server Maintain for Hunt Logs #158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外 maintain_time
是不是通过 args 提供更好一些,python hunt_maintain.py 20220422_153000
这样子
utils/hunt_maintain.py
Outdated
servers = Server.objects.filter(areaId=7) | ||
elif keyword == "豆豆柴" or keyword == '狗': | ||
servers = Server.objects.filter(areaId=8) | ||
servers = Server.objects.filter(name=keyword) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这行似乎没必要?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之前有人和我建议加上单服的重启,我就这么写了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之前有人和我建议加上单服的重启,我就这么写了
哦哦,那是不是少了个else:
,不然前面的 servers
没有作用。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好像是
按照这个格式吗?那我重新写一下格式化方法 |
我无所谓的,最好按照标准来吧,时区按照北京时间就行。 |
改好了,现在大概用指令 |
感谢! |
No description provided.