1、shell 下 执行 python程序
#!/bin/sh
python /home/laidefa/msg_json/code/request_msg_json.py
python /home/laidefa/msg_json/code/ftp_uploadfile.py
2、crontab -e 下执行定时任务跑python脚本
每天八天半执行
每天八点四十执行
# 30 8 * * * python /home/laidefa/msg_json/code/request_msg_json.py >>/home/laidefa/msg_json/log/myjob1.txt
# 40 8 * * * python /home/laidefa/msg_json/code/ftp_uploadfile.py >>/home/laidefa/msg_json/log/myjob2.txt