shell log
作者:互联网
#!/bin/bash echo 'begin...' #docker exec -u root scrapy_frame_new /bin/bash -c 'cd /aihuishou_spider/scrapy_frame/run_script && ./runlogistics.sh' #docker exec -u root scrapy_frame /bin/bash -c 'cd /aihuishou_spider/scrapy_frame/aihuishou/Base && scrapy crawl logsitcs_jd_trends' LogDATE=`date '+%Y%m%d'` cd /aihuishou_spider/aihuishou_spider/scrapy_frame/aihuishou/ && python3 main_run.py logsitcs_jd_trends >> /data/logistics/logs/$LogDATE"_logsitcs_jd_trends.log" echo 'end...'
标签:bin,shell,aihuishou,log,frame,spider,scrapy,trends 来源: https://www.cnblogs.com/du-jun/p/14889542.html