[root@kvm8 ~]# crontab crontab: usage error: file name or - (for stdin) must be specified Usage: crontab [options] file crontab [options] crontab -n [hostname] Options: -u <user> define user -e edit user's crontab -l list user's crontab -r delete user's crontab -i prompt before deleting -n <host> set host in cluster to run users' crontabs -c get host in cluster to run users' crontabs -T <file> test a crontab file syntax -s selinux context -V print version and exit -x <mask> enable debugging Default operation is replace, per 1003.2 參數說明: -u user :只有 root 能下達的參數,視察或編譯其他使用者的 crontab 內容 -l :列出 crontab 的內容 -e :編輯 crontab 的內容 -r :刪除 crontab 的內容