Engine running will not hurt the plugs
But you need to know which glow plug you have , so you know how long you can hold the manual switch and not melting the tips
I think you better not to hold them on to long , 10 to 15 second is what i do after a cold start to smooth the idle with the hand throttle pull a little