no crontab for zc - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /bin/ed
时间: 2024-04-03 21:33:51 浏览: 25
这不是一个问题,这是一个命令行输出。它表示当前用户(可能是用户名为“zc”的用户)没有设置crontab任务,因此系统会使用一个空的crontab。然后系统提示选择一个文本编辑器来编辑crontab任务,提供了三个选项:/bin/nano,/usr/bin/vim.basic和/bin/ed。你可以选择一个编辑器来编辑crontab任务。如果你不确定如何编辑crontab任务,可以参考相关的教程或者咨询管理员或其他技术支持人员。
相关问题
no crontab for sjt - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny 4. /bin/ed
这个消息表明当前用户 sjt 没有设置任何的 crontab 任务,需要选择一个编辑器进行编辑。根据提示,可以执行 `select-editor` 命令来设置默认编辑器,然后使用 `crontab -e` 命令来编辑 crontab 任务。例如,选择 `/bin/nano` 编辑器,并编辑 crontab 任务,可以执行以下命令:
```
select-editor
crontab -e
```
接下来,您可以在编辑器中添加您需要的定时任务。编辑完成后保存并退出编辑器即可。
no crontab for root - using an empty one crontab: installing new crontab "/tmp/crontab.H7mbdO"
这个报错是因为在Linux服务器上尝试为root用户创建定时任务时发生的。"no crontab for root - using an empty one crontab: installing new crontab"的意思是root用户没有预设的定时任务,因此会安装一个空的定时任务。然而,由于权限问题,无法在指定的目录/var/spool/cron/创建新的定时任务文件/tmp/crontab.H7mbdO。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [linux no crontab for root - using an empty one Permission denied](https://blog.csdn.net/marchcma/article/details/111272443)[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: 100%"]
[ .reference_list ]
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)