My Oracle Support Banner

crontab -e yields "non-zero exit status from vi" (Doc ID 1017682.1)

Last updated on AUGUST 27, 2019

Applies to:

Solaris Operating System - Version 8 6/00 U1 and later
All Platforms


Editing a crontab with vi sometimes returns the following error message on exit:

"non-zero exit status from vi"

The changes made during such sessions are discarded by cron. The cron process is very cautious about what it will accept from vi, and any event that provokes an exit status of 1 will nullify the entire crontab session.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.