Comments (4)
这个问题一点都不白痴:)
首先:为了通用和部署的简化,现在的机制是启动一个一小时间隔的定时任务,在定时任务内判断是否要推送,所以在页面上选择整点推送,其实不是整点的,每个人创建的应用的启动时间都不同,所以推送时间也不同,但是都在你选定的时间前,比如你选择8点推送,有可能是7:10,或者7:54等等(但是每个人创建的应用来说,每天的推送时间大体相近)。
如何要实现精确时间推送呢?
看到KindleEar目录下的cron.yaml文件了吗,就是它定时了定时任务。
仿照里面的两个例子,你新增一个你需要的时间点就行了。
既然你已经确定了推送时间,则就不需要判断时间了,建议使用URL:
/deliver?u=admin
u是用户名。
此URL等效于在网页上点击“现在投递”。
想在不同的时间点推送不同的书籍?(除了新建不同的账号这个方法外)
在cron里面多增加几条记录就行,使用URL格式:
/deliver?u=admin&id=5119459282921232
id是书籍ID,通过/dbviewer可以简单的获取到书籍的数据库ID。
不知你明白了没有,如果不明白,慢慢摸索,多利用google,
反正我没有真实测试过,无责任:)
from kindleear.
不屈不挠的医学生对于摸索这回事最擅长了,谢谢.
from kindleear.
- description: add deliver task to queue
url: /deliver
schedule: every day 23:30 - description: add deliver task to queue
url: /deliver?admin4=admin&5775124695351296=5119459282921232
schedule: every day 23:30
这是我模仿的增加了两条 上传的确成功了,不过。。。。好像没什么用。。。。
from kindleear.
这个问题就不够高级了,不知是否是我描述不到家
/deliver?u=admin4&id=000000000
一串零换成你的id
from kindleear.
Related Issues (20)
- 新版有没有自动部署的教程? HOT 2
- 更新3.0.5docker报错 HOT 6
- Auto Deliver is not working. HOT 9
- 文档中序号问题及能否部署本地的一些疑问 HOT 1
- has no attribute 'get_locale' HOT 1
- 求助:邮件正文转换为邮件附件推送不成功,加了 !article也不行 HOT 2
- 使用sendgrid时出现403错误 HOT 1
- 上传封面图像 error HOT 6
- 部分RSS,转换书籍成功,亚马逊推送失败 HOT 14
- 有的recipe的退订和设置投递时间的按键失灵 HOT 4
- 群晖Docker上的一些问题 HOT 11
- List style HOT 9
- 雪球-RSS的排版问题 HOT 5
- 疑似bug,自定义推送时间无法保存。 HOT 23
- 原来有个“我需要翻墙(针对**用户)”的选项,新版找不到了,有些网站抓不到内容 HOT 4
- 疑似bug,PC上浏览器里在线阅读显示不完整。 HOT 5
- 疑似新版本有bug,之前可以正常推送的书籍无法推送了。 HOT 2
- 有一些rss总是显示nonews无法推送 HOT 6
- Google cloud扣费 HOT 2
- 请教Failed to execute recipe: list index out of range HOT 23
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 kindleear.