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. 


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.


  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 , it ‘s stable and nice enough.