歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下CRONTAB RELOAD初探

Linux下CRONTAB RELOAD初探

日期:2017/2/28 15:59:12   编辑:Linux教程

CRONTAB RELOAD初探:

==============================Oracle下執行============================

[[email protected] script]$ service cron reload

-bash: service: command not found [[email protected] script]$ /sbin/service crond reloa 用法: /etc/init.d/crond {start|stop|status|reload|restart|condrestart} [[email protected] script]$ /etc/init.d/crond reload 重新載入 cron 守護進程配置: [失敗] [[email protected] script]$ /sbin/service crond restart rm: 無法刪除 “/var/run/crond.pid”: 權限不夠 [失敗] 啟動 crond:cardmgr 已經在運行 [失敗] [[email protected] script]$ /sbin/service crond stop rm: 無法刪除 “/var/run/crond.pid”: 權限不夠 [失敗] [[email protected] script]$ whoami oracle [[email protected] script]$
==============================ROOT下執行================================= [root@L-DB-128-46 data]# /etc/init.d/crond reload 重新載入 cron 守護進程配置: [確定] [root@L-DB-128-46 data]# whoami root [root@L-DB-128-46 data]#
Copyright © Linux教程網 All Rights Reserved