Re: 請問/etc/crontab 的問題

看板FreeBSD作者時間19年前 (2006/10/29 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
※ 引述《rainman.bbs@bbs.yuntech.edu.tw (Rainman)》之銘言: : 亦即,如果要讓directory下的shell script 能在crontab正確執行 : 如果只給目錄的名稱,就必須將這個目錄放在/etc/periodic : 底下。 : 會嘗試這個,是因為最近有機會接觸到CentOS : CentOS如果要執行的某一目錄底下的所有可執行的shell script : 那麼只要設定 root run-parts /etc/runcron : 我把這個方式,拿來FreeBSD 設定卻不行。 : 看起來FreeBSD必須限定將目錄,放在/etc/periodic底下。 請先看過 periodic 的 man page 再下定論。 :) -- Linux is for people who want to know why it works. Mac is for people who don't want to know why it works. DOS is for people who want to know why it does not work. Windows is for people who don't want to know why it does not work. -- ※Origin:星 情 小 築 < Star.leobbs.net > ※From: 203-70-154-95.adsl.dynamic.seed.net.tw
文章代碼(AID): #15H7KN00 (FreeBSD)
文章代碼(AID): #15H7KN00 (FreeBSD)