Can't open crontab, 447

Today I logged on to one of my servers I rarely use to create a crontab script to be run by the oracle user.  I ran the command crontab -l to view the contents of crontab.  I then entered crontab -e to edit it.  No dice.  The cursor hung on a new line and '447' was outputed to the screen.  I had to do CTRL+C to get out of it.

oracle@server:~ > crontab -e
447

The fix was to set the EDITOR environment variable to vi.  I added this to the oracle's .profile:

export EDITOR=vi

Comments

Popular posts from this blog

Auditing user logon and logoff in Oracle

RMAN Restore vs. Recovery - what's the difference?