A 2.4-magnitude earthquake happened on Friday morning near Randleman.