2015-09-17 27 views
0

我使用Ubuntu:最新的圖像,cron是已經安裝了,因爲我的cron作業不會運行在所有。我想檢查cron deamon是否在我的碼頭集裝箱中運行。「服務的cron狀態」命令不歸還的cron的狀態在Ubuntu泊塢窗容器

所以我在

service cron status 

結果鍵入:

Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service cron status 
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the status(8) utility, e.g. status cron 

給我的cron的地位沒有結果,這是爲什麼?

回答

0

服務名稱錯誤。這裏是crond

service crond status 
修復