Author Topic: How to edit crontab and save?  (Read 6284 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
How to edit crontab and save?
« on: October 22, 2011, 10:45:19 AM »
To edit crontab write:
crontab -e

The default editor is for crontab is vi.
 
Make your edit..
 
Then hit "ESC" once. Then :wq

That should drop you back to the command line.

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
Re: How to edit crontab and save?
« Reply #1 on: November 27, 2011, 11:19:06 AM »
to edit a user crontab add: -u username