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

请问linux下可以编译好后定时任务执行采集么? #2

Open
coollhg opened this issue Aug 5, 2016 · 1 comment
Open

Comments

@coollhg
Copy link

coollhg commented Aug 5, 2016

go build main.go 请问是这样执行么?
./main pholcus -a_ui=cmd -c_spider=0,1,2,3,8,16 -c_output=mysql -c_thread=20 -c_docker=5000 -c_pause=300 -c_proxy=0 -c_keyword=pholcus,golang -c_maxpage=10 -c_inherit_y=true -c_inherit_n=true

或者怎么执行呢? 开始以后命令行自动就退出了 请问怎么运行呢?
采集规则web模式下采集无误,但是我希望将编译到linux环境做定时任务定时执行 请问可以么 ? 如果可以请问怎么执行编译文件呢?目前命令行执行自动秒退出了。

@andeya
Copy link
Member

andeya commented Aug 6, 2016

./main pholcus -h 查询帮助信息

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