开机启动vi /etc/rc.local在 exit 0 之前,加入下面这一行/opt/hpup.sh > /dev/null 2>&1 &确保你的脚本有执行权限chmod +x /opt/hpup.sh查看进程ps | grep hpup.sh定时任务cat /etc/crontabs/root添加任务*/5 * * * * /opt/hpping重载/etc/init.d/cron restart