otiosely

In an otiose or perfunctory manner; futilely.