Comments (4)
我也经常遇到这个问题,隔几天就停止了,设置systemctl enable 也不好使。因为我比较需求那个清空快过期礼物的功能,所以目前使用了一个不是很能从根源上解决办法的办法,就是用corntab指令来每天定时重启一下服务,设置成每日的22点和次日2点定时重启,目前这种感觉运行效果稳定性不错。
[toriann@dovah ~]# crontab -e
0 02 * * * service bilibili1 restart
0 02 * * * service bilibili2 restart
0 22 * * * service bilibili1 restart
0 22 * * * service bilibili2 restart
另外不知道是不是个人理解还是文档说明确实可能会造成一些误解,按照文档操作如果是在一个service中独立执行
php index.php example.conf
仅会针对后面的名为“example.conf”的配置文件开启挂机脚本。而解决方案自己也有一个简单粗暴的,就是创建两个service,一个写成
php index.php example.conf
而一个写作
php index.php
三开及多开同理创建更多service,经测试能达到目的。然而查阅index.php代码中似乎对于配置文件的参数传入及遍历个人感觉也确实没有出现问题,个人理解仅按一句指令
php index.php conf1.conf conf2.conf ...
执行多开应该不会出问题,就感觉很奇怪(笔者的php知识确实较为浅薄如果是个人理解问题在此致歉)
from bilihelper.
@StarryFK 你是什么版本呢?是否是直接clone的还是使用的release的版本
from bilihelper.
@lkeme 直接clone的最新版
from bilihelper.
我也遇到过这种情况,可能是网络不稳定?
from bilihelper.
Related Issues (20)
- 关于程序的更新 HOT 2
- 关于每日投币和自动送礼的建议
- docker 当前视频投币设置不正确,请检查配置文件
- 抽取礼物提示你已经领取过了 HOT 5
- 访问被拒绝 HOT 2
- 好像绑定了手机如果出现验证无法登录挂机 HOT 5
- closed HOT 1
- 今天出现报错了 HOT 1
- Verification code is required when updating tokens...
- 是否有办法关闭日志或指定日志输出方式? HOT 1
- 牛逼啦 HOT 1
- 验证码登陆问题 HOT 2
- 请问下这个怎么改成多账号做任务?
- composer更新时候要求输入laravel-china账密
- 跟完新版本, 那个清空礼物把我永久期限的礼物送出去了 HOT 2
- No description provided.
- 在我服务器上运行好像有个内存的问题
- 希望增加功能
- 小电视抽奖现在大部分失效 HOT 1
- warning提示海外用户,领了几十点好感之后就不能继续领了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilihelper.