2016-05-13 83 views
0

我與CentOS的一個新的VM 7 incron intstalledIncron不要「噸做任何事情

我試着讓它工作,但一個簡單的命令不執行任何操作

incrontab -e:。

/home/test IN_CLOSE_WRITE touch "[email protected]/$#.new" 

沒什麼特別

當我看日誌的cron我看到這一點:

May 13 11:40:57 Minions incrond[2785]: (root) CMD (touch "/home/test/test.new") 

,但沒有在目錄

[[email protected] test]# ll 
total 0 
-rw-r--r--. 1 root root 0 13 mai 11:40 test 

創建你有一個想法,什麼是錯的?

回答

相關問題