2017年9月4日

crontab用法

摘要: crontab用来周期性地执行命令.用crontab e打开crontab文件. crontab文件共6个字段. 第1字段表示分钟 第2字段表示小时 第3字段表示日期 第4字段表示月份 第5字段表示周 第6字段表示命令 比如 表示5分钟执行一次test.sh 每个小时执行一次 阅读全文

posted @ 2017-09-04 18:17 荷楠仁 阅读(145) 评论(0) 推荐(0) 编辑

shell脚本调用python模块

摘要: python helloworld.py代码为 shell脚本run.sh为 执行sh run.sh就能运行. 阅读全文

posted @ 2017-09-04 18:05 荷楠仁 阅读(772) 评论(0) 推荐(0) 编辑

导航