crontab editing error

Ubuntu18.04 system

Enter crontab -e as shown below:

Closing the window will generate a crontab.xx directory under /tmp/ with .crontab.swp below

You can only kill the process through ps aux and then kill pid

 

The reason is: Nano is installed on the server, which is similar to the vim editor. When opening the crontab file, you need to select the specified editor software;

 

The solution is as follows:

Guess you like

Origin blog.csdn.net/Doudou_Mylove/article/details/107757240