摘要: nohup command & nohup scrapy crawl eeo > /home/wangliang/eeo.log & nohou 需要后台的命令 打印的日志位置 文件可以随便写 & 使用 jobs -l 可以查看当前正在寻的程序 使用 ps -ef | grep scrpay 可以查 阅读全文
posted @ 2019-12-01 20:34 睡觉了嘛 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 第一个 进入 crontab 会选择编译器 在开发中一般写成脚本形式运行 2>&1 表示把错误也输入到 run.log 中去 图片上面的两个2>1 是不一样的 对应的不同命令 /bin/sh 表现下面命令用 /bin/sh 执行 类似于python 代码写的 /bin/sh/python3 cd ` 阅读全文
posted @ 2019-12-01 20:31 睡觉了嘛 阅读(140) 评论(0) 推荐(0) 编辑