#!/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...'