Run a curl command using CRON jobs

前端 未结 3 469
孤城傲影
孤城傲影 2021-01-02 06:31

I want to run this statement:

curl \'http://localhost:8983/solr/dataimport?command=full-import\'

every 10 minutes using CRON jobs.

3条回答
  •  清歌不尽
    2021-01-02 07:08

    For blue host and go daddy server:

    curl -s "http://localhost:8983/solr/dataimport?command=full-import"
    

提交回复
热议问题