Comments (2)
很好,正好是我想要的状态!
谢谢告知,可以加进文档里喔😄
from medalhelper.
Is your feature request related to a problem? Please describe. 有时(网络中断、设备断线、容器停止等)可能出现cron运行被错过、或运行不完整,为了完成当天的任务,需要手动重新运行。 但因为cron 是写在配置文件里面的,需要注释掉文件里cron的时间,再重启容器。等待重新执行完成后,还需要去掉文件里刚才注释的时间,再重启容器,否则会循环多次执行任务。 整个操作比较繁琐。
当时加这个start就是为了这个情况的发生
medalhelper start
我不太清楚docker是如何传参数进入容器的,但是现在你直接跑上面的命令是会立刻进行一次的,不知道这个是否满足你的需求,你可以尝试一下运行一下
docker run -d \
-e TZ=Asia/Shanghai \
-v $(pwd)/users.yaml:/config/users.yaml \
--restart unless-stopped \
--name medalhelper \
medalhelper start
from medalhelper.
Related Issues (19)
- docker build时出现问题 HOT 2
- 按照使用手册 docker run --rm -ti medalhelper login 报错 HOT 1
- [Support] 可手动指定完成条件 HOT 7
- [Feat] Add config for cloud service HOT 5
- [Feat] Add whitelist config HOT 1
- [Feat] Add Telegram Bot Push HOT 2
- Add whitelist config
- Edit corresponding code
- [BUG] 当前佩戴的粉丝牌在每天第一次运行时读取不到 HOT 7
- [BUG] Multi account execute error HOT 4
- [Feat] Wear medal before sending danmu HOT 3
- [BUG] 仅有心跳包正常,其他操作都失败 HOT 4
- 白名单相关问题 HOT 7
- [Feat] Package for other dependency
- [BUG] Doesn't work well on debian HOT 3
- [Feat] Send notification when running error HOT 3
- [Feat] 每日任务,免费领电池 HOT 1
- [BUG] 粉丝牌数超过200(不包括舰长)会导致每天最多300亲密度 HOT 1
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 medalhelper.