Doesnt matter whether beating of running .....
If the leech or foot is 'fluttering' simply tighten the leech/foot cord until the fluttering stops. On the leech, usually only the leech at one 'panel' between battens will be 'fluttering' ... just apply cord tension until the leech becomes 'quiet'. Usually once 'set', the cords dont have to be readjusted .... unless you see the sectional fluttering (tighten the cord) or you see a distinct 'hook' to the shape of the leech indicating that the cord is too tight. Without leech cords that fluttering will eventually severely weaken the fabric and destroy the filler in a woven dacron sail, etc. The probably BEST leech cord arrangement is an 'over-the-top' arrangement: leech cord along the leech to a cheek block on the head board and then back down along the luff/mast (or headsail foil) to the tack. This makes it SO easy to adjust the cord from the base of the mast .... instead of hanging overboard with one foot on the rail, one in mid air, your body hanging onto the boom with one hand while the other cant quite perform the 'right' adjustment when the boom is way 'outboard'. hope this helps.