看板FreeBSD
标 题Re: [问题]crontab 的问题 ?
发信站超级光小站 (Mon Oct 18 11:05:17 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.csie.ncyu!news.cs.nthu!bbs.supe
※ 引述《[email protected] (兰阳过客)》之铭言:
> 请问一下,我编辑了 /etc/crontab , 然後执行了 crontab /etc/crontab
> 我的 root 都会收到错误回报,内容写 root: not found
> 请问这个问题该怎麽解呢 ?
/etc/crontab 不是使用者的排程设定档,而是系统的,通常不会去编辑它
如果你是要设定 root 的 crontab,请 su 为 root,然後用 crontab -e
详请 man crontab
--
╭───╮╭─╮
│█◤█││█│ ※ Origin:
超级光小站 <SuperLight.twbbs.org>
│█◢◣╮│█│ ※ From :
61-221-34-37.HINET-IP.hinet.net
╰◥◤█││█╰─╮
│█◢█││███│
╰───╯╰───╯