linux计划任务执行shell脚本注意事项

原文链接: http://www.cnblogs.com/pengyong1211/p/10995987.html

1.shell脚本文件权限应该有可执行权限

2.shell脚本文件应该设置文件格式为unix,在vi下面的设置方法:set ff=unix

转载于:https://www.cnblogs.com/pengyong1211/p/10995987.html

猜你喜欢

转载自blog.csdn.net/weixin_30193109/article/details/94802824