crontab -r
时间: 2023-10-12 19:07:57 浏览: 78
crontab -r是一个Linux命令,用于删除用户下的所有cron任务。执行该命令后,会删除用户的cron表,并在使用"crontab -l"命令查看时显示"no crontab for username!"。这个命令可以帮助用户清除不再需要的定时任务。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Linux定时任务:Crontab](https://blog.csdn.net/qq_21059825/article/details/119534486)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Linux命令详解(12)-crontab命令](https://blog.csdn.net/bigwood99/article/details/125999257)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Linux crontab 命令用法详解](https://download.csdn.net/download/weixin_38607088/14081629)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文