#!/bin/bash # 启动 cron service cron start # 查看日志 tail -f /var/log/python.log