This is why I asked my question. Running a task when no user is logged on is much different than running a task when a user is logging off.
When no user is logged on is normally used when the item may impact user activities, such as installing software or a reboot is needed.
When a user is logging off is normally used when the item requires access to the users environment, such as cleaning up temporary Internet files or cleaning the users registry as they are logging off (so it will be ready for the next time that user logs in).
It seems like this user is looking for the second, but the suggested post from Igor is for the first. But I leave that for the user to decide.