编辑文件:/etc/rc.local, 将所需要执行的任务在末尾加上(类似crontab添加) vim /etc/rc.local 转载于:https://www.cnblogs.com/lixingbaophp/p/8880140.html