-
Notifications
You must be signed in to change notification settings - Fork 110
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
auto update #5
Comments
不不不,你这是纯技术观点。 |
或者可以修改下commit信息 |
每五分钟更新是怎么做到的,shell文件好像没运行 |
看代码应该是每五分钟执行一次爬虫获取 然后push到仓库 |
是的,在那个update.sh里,但具体github操作步骤不是很了解 |
我猜测是这样的
|
while sleep 1; do bash update.sh; sleep 300;done; |
2333, 好奇这段while循环是跑在自己的服务器还是github的? |
自己服务器 把数据push到github上 |
我自己在服务器上运行了,但是怎么实现每五分钟自动刷新啊,上面大神写的没看懂 |
大神写的是 一个shell脚本 while循环 每300秒执行一次update.sh脚本 所有的更新数据 也就是执行python代码和把数据push到github上 |
auto update 没必要每五分钟提交一次 当有数据更新时再刷新时间 并push到分支上
The text was updated successfully, but these errors were encountered: