Skip to content

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

@coollhg

Description

@coollhg

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环境做定时任务定时执行 请问可以么 ? 如果可以请问怎么执行编译文件呢?目前命令行执行自动秒退出了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions