Operating System & Version
Linux
cPanel & WHM Version
110.0.10

Sujoy Dhar

Well-Known Member
Jul 24, 2016
81
12
58
India
cPanel Access Level
Root Administrator
Twitter
Hi,

I put :

# crontab -u root -e

On Terminal inside WHM but I am unable to edit or add a single line as giving backspace does not remove character, or putting insert but no changes.
Can anybody tell me how to edit crontab.

I am trying to edit a line :

*/10 * * * * root find /home/*/lscache -type f -mmin +1440 -delete 2>/dev/null

What to press to edit the line ?
 
Last edited:

quietFinn

Well-Known Member
Feb 4, 2006
2,034
545
493
Finland
cPanel Access Level
Root Administrator
One of the 1st things I do in a new server is to put:
export EDITOR="nano"
in /etc/bashrc
 
  • Like
Reactions: Sujoy Dhar