exp only comes from kills, quests, logs, leves, and other turn ins. Anytime you're not actively playing your character should be sitting in a city or similar where they get rested exp (not actual experience, but an accumulating exp buff).