lsof -i:8080 查看8080是否被什么进程占用
crontab -e 查看当前user的定时任务
/sbin/service crond start
/sbin/service crond stop
/sbin/service crond restart
/sbin/service crond reload
要把cron设为在开机的时候自动启动,在 /etc/rc.d/rc.local 脚本中加入/sbin/service crond start
即可
lsof -i:8080 查看8080是否被什么进程占用
crontab -e 查看当前user的定时任务
/sbin/service crond start
/sbin/service crond stop
/sbin/service crond restart
/sbin/service crond reload
要把cron设为在开机的时候自动启动,在 /etc/rc.d/rc.local 脚本中加入/sbin/service crond start
即可
转载于:https://www.cnblogs.com/zekai/p/8879942.html