-
Notifications
You must be signed in to change notification settings - Fork 18
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
url-wait.shを実装した #96
base: master
Are you sure you want to change the base?
url-wait.shを実装した #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO resultに存在しないかチェックしておく
ができればよさそうな気がします〜
@@ -0,0 +1,23 @@ | |||
now_ts=`date '+%s'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#!/bin/bash
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#!/usr/bin/env bash
の方がよいかも
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
基本、 Linux で bash のときは env 使わないのがいいです。
語ると長くなります。
|
||
keys=`redis-cli KEYS "vscovid-crawler:job-*"` | ||
for key in $keys; do | ||
job=`redis-cli GET $key` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tab~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このプロジェクトはハードタブ、という割り切りも必要なんでは。
という会話をした。 |
jobに溜まってた(回答されず放置されていた)ものを探し出してqueueに戻す処理書きました