摘要: 1.编辑配置文件 sudocrontab -e */1 * * * * python /home/hello.py >> /home/hello.log */1 * * * * date >> /home/hello.log 2.hello.py内容 3.保存,重启服务: /etc/init.d/c 阅读全文
posted @ 2016-11-02 17:22 当自强 阅读(90) 评论(0) 推荐(0) 编辑