A Greenock man has been ordered to complete unpaid work after he made violent threats which left a woman ‘frightened and crying’.