-l選項,查看當前用戶的全部定時任務:shell
[xiluhua@vm-xiluhua][/home]$ crontab -l
* * * * * /home/xiluhua/shell_script/logbk.sh
-e選項,建立或修改當前用戶的定時任務:spa
[xiluhua@vm-xiluhua][/home]$ crontab -e
crontab: no changes made to crontab
-u選項,查看(-l),修改(-e)指定用戶的定時任務,(僅root管理員可用):code
[root@vm-xiluhua][/home]$ crontab -u xiluhua -l
* * * * * /home/xiluhua/shell_script/logbk.sh
-r選項,刪除定時任務blog