#### 基本使用方法 ``` 7,27,47 * * * * /usr/local/bin/python3 /data/cron/hostinfo3.py 56 23 * * * python /data/cron/db_post_gz.py 51 23 * * * /usr/local/bin/python3 /data/cron/mongobak.py ``` #### 查看日志 cat /var/log/cron ### 保存目录 /var/spool/cron/root ### - 问题记录 (1)Crontab执行python3的报错 ``` mailed 36 bytes of output but got status 0x004b#012 ``` ``` mailed 81 bytes of output but got status 0x004b#012 ```