Skip to content
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

qshell qupload命令不能通过crontab定时执行 #91

Closed
changchangjie opened this issue May 3, 2017 · 7 comments
Closed

qshell qupload命令不能通过crontab定时执行 #91

changchangjie opened this issue May 3, 2017 · 7 comments

Comments

@changchangjie
Copy link

定时上传这个场景应该很常见吧,希望能够解决

@jemygraw
Copy link
Contributor

这个更新到2.0.7版本是可以的。

@changchangjie
Copy link
Author

确定?我刚用2.1.3试了不行

@jemygraw
Copy link
Contributor

如果有错误,麻烦提供下错误,如果没有执行,麻烦把crontab的输出重定向到日志

@jemygraw
Copy link
Contributor

jemygraw commented Aug 29, 2017

*/5 * * * * /Users/jemy/Bin/qiniu-devtools/qshell qupload /Users/jemy/Temp/upload.conf

每5分钟执行一次。

@ghost
Copy link

ghost commented Aug 30, 2017

ARM 版本存在此问题 #68 希望能提供 ARM 的新版 :)
顺带丢一个编译好的 https://pan.lanzou.com/1590792/

@jemygraw
Copy link
Contributor

没有arm的编译器,囧。

@jemygraw
Copy link
Contributor

可以通过使用

qshell -m account ak sk
qshell -m qupload conf.json

这样的方式来绕开这个问题,这种-m的方式叫做多用户模式。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants