centos7 添加开机启动任务脚本

2024-10-30 16:16:16

1、新建开机任务脚本

centos7 添加开机启动任务脚本

2、添加自己的开机任务

centos7 添加开机启动任务脚本

3、复制脚本路径

centos7 添加开机启动任务脚本

4、编辑开机任务文件,添加脚本到这个文件,用bash命令可以不需要给脚本权限

centos7 添加开机启动任务脚本centos7 添加开机启动任务脚本

5、生效开机任务

centos7 添加开机启动任务脚本centos7 添加开机启动任务脚本

6、重启验证开机任务是否启动

centos7 添加开机启动任务脚本centos7 添加开机启动任务脚本

7、最后总结,其实就三个步骤

centos7 添加开机启动任务脚本
猜你喜欢