Java教程

shell log

本文主要是介绍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...'

  

这篇关于shell log的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!