linux开机启动执行脚本

1、添加在中 /etc/rc.d/rc.local

 nohup  python /home/***.py &

2、crontab -e

@reboot(sleep90; sh /location/script.sh )

猜你喜欢

转载自blog.csdn.net/qq_42006894/article/details/85985698