Nguyễn Hồ Ngọc Anh
Member
How do you edit and save crontab file in Linux?
Answer
It can be a little confusing and scary the first time you use it, so here’s what to do:
Answer
It can be a little confusing and scary the first time you use it, so here’s what to do:
- press esc.
- press i (for “insert”) to begin editing the file.
- paste the cron command in the file.
- press esc again to exit editing mode.
- type :wq to save ( w – write) and exit ( q – quit) the file.