Hi, I can get into insert mode and type a line into crontab, but how do I actually save the file? I read that it was :wq, but I don't know what this means - if I type it it just appears as text.
If text is appearing, you are probably in text insert mode. Hit <esc> and then do the ":wq!" (no quotes of course). If you wanted to save but keep working ":w" will do that for you...
I tend to play it safe, normally do a "crontab -l > filename", then vi the file, and once happy with the content run "crontab filename" to update the crontab.
There is of course the risk of forgetting to do the last step when in a hurry...
IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.