futilely

(adverb)

adverb

1. in a futile and unproductive manner