Home  >  Article  >  Backend Development  >  cron 定时任务 错误

cron 定时任务 错误

WBOY
WBOYOriginal
2016-06-23 14:10:35842browse

root@~:~# crontab -e
no crontab for root - using an empty one
888

我从新安装也没办法

没办法进入编辑cron


回复讨论(解决方案)

Ubuntu System Admin 在一线上服务器上设置计划任务, 不小心选择了nano, 由于以前接触的是redhat系列的, 不习惯用nano, 于是想重设下, 网上查了下, 貌似没有。。

无奈之下,重装一台服务器测试, 发现当你第一次crontab -e选择编辑器的时候就会提醒你: 以后若要该改变选择, 输入select-editor 唉,还是不够细心啊。。 sudo select-editor 选择vim 搞定。。


百度到了 解决

结贴!来人接分~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn