Dear ankscorek, just in case you are not familiar with vi.crontab -eas root is correct. It copies the current crontab into a vi. Press "i" to change to the insert mode. Then insert the line, either by typing or by copy and paste. Then press the key <esc> to leave the insert mode. If you do it more often the computer might beep, but this is ok. Then type ":wq". This should save the file and close the editor. This is very intuitive. The new crontab should appear as the result of
crontab -l.
I am dumb, but, hey I guess I used "insert" copy paste the line followed by ":wq" and then I got
/tmp/crontab.iIfg3ylVXj: 2 lines, 2 characters. crontab: installing new crontab
If that is too involved, run the commandexport EDITOR=eeorsetenv EDITOR ee(depending on your shell) before runningcrontab -e. That'll give you an easier editor.
vi is an easy editor.
My query is that I do not see the line which I copied, pasted, saved and exited the editor. I want to edit the 0 6 to something else.