Set cron job on Mac OS X
I use vim as my default editor. If I use command crontab -e to set cron job. After I saved and quit, I got this error message. crontab: "/usr/bin/vi" exited with status 1 To fix this problem, the solution is to change the default editor temporary like below. Here is setting to use nano . EDITOR=nano crontab -e If cron job was set successful. The message would be like below. crontab: installing new crontab