How to troubleshoot "Error detected while PROCESSING/ROOT/.VIMRC:"

Source: Internet
Author: User

Use crontab-e When you add a scheduled task, you encounter the following error " Error detected while PROCESSING/ROOT/.VIMRC: ":

[Root@~]# crontab-eError detected whileProcessing/Root/. vimrc:line -: E518:unknown option:FDM=syntaxline the: E518:unknown Option:autochdir

The first method: intuitively, according to the hint, the FDM and autochdir instructions should not be supported, just to determine if the command is supported, as follows:

[[email protected]~]# vim ~/.VIMRC" " Not in VI instruction list configuration  if has ("FDM")   FDM  =syntax "CATGS configuration to resolve E257 problem/HTTP/ Blog.csdn.net/billfeller/article/details/40316501set tags=tags;set  autochdir  endif  

You can now edit the timer task using CRONTAB-E.

The second method:

To modify the default editor:

[Root@~]# vim ~/.BASHRC  export EDITOR=/usr/bin/vim  [Root@~]# source ~/.BASHRC

You can now edit the timer task using CRONTAB-E.

Appendix

1. Through the/var/log/cron can find the timing task execution log;

2. Through/var/spool/cron/tmp. Xxxxe1i7ve can find out the currently executing scheduled tasks;

How to troubleshoot "Error detected while PROCESSING/ROOT/.VIMRC:"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.