sh 文件
[root@mostchh-04 spider]# which scrapy
/soft/python3/bin/scrapy
#!/bin/bash
cd /home/spider/news_spider/news_spider/spiders && /soft/python3/bin/scrapy crawlall
echo 111 >> ./cyl_test.txt
定时文件
#每秒执行一次
* * * * * /soft/data/crontab.sh
# 定时爬虫
33 8,12,16,20 * * * /home/spider/run.sh