Code Monkey home page Code Monkey logo

Comments (4)

ToriannSiming avatar ToriannSiming commented on July 20, 2024 2

我也经常遇到这个问题,隔几天就停止了,设置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.

lkeme avatar lkeme commented on July 20, 2024

@StarryFK 你是什么版本呢?是否是直接clone的还是使用的release的版本

from bilihelper.

StarryFK avatar StarryFK commented on July 20, 2024

@lkeme 直接clone的最新版

from bilihelper.

MikeWang000000 avatar MikeWang000000 commented on July 20, 2024

我也遇到过这种情况,可能是网络不稳定?

from bilihelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.