Ver Fonte

bash sh

zhaoyang há 2 anos atrás
pai
commit
09f331b5d3
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      content_spider/bash/command.sh

+ 2 - 2
content_spider/bash/command.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-pwd=/home/www/zw_content_spider
+pwd=/project/www/zhiyu_content_spider
 cd $pwd
 spider_name=$1
-/root/.pyenv/shims/scrapy crawl $spider_name
+/usr/local/bin/scrapy crawl $spider_name