Create Cronjob with custom nano editor in Linux/Mac

When create a cronjob in Linux or Mac, the default editor is VIM. But it is not easy and not comfortable to use VIM in the most case because it have too many hidden command shortcut key. In this case, I decide to use NANO editor instead. 

Downloads_—_sh_—_80×24

To use nano as editor, it ‘s quite simple. You just need to use this code when create cronjob

Now, the editor open the cronjob will be nano, you just need to type your command and save it.

It simple but sometimes it will save us a lot of time.

2 comments

  1. Wow, it solved my crazy time on a crazy vi editor for cronjob, thanks man

  2. Just use the third party service, I am using https://www.setcronjob.com , it ‘s stable and nice enough.

CDN by MaxCDN