How to edit crontab in Sun Solaris

First time I edited crontab file in Solaris was when I wanted to schedule my system to always synchronized to NTP server. It is set in the crontab file.
On Linux and BSD, just run command “crontab -e” to edit the crontab.

It is different on Solaris system, you need to specify the editor program to use. In Linux and BSD are set by default to use vi editor.