Scheduled Tasks - how do I handle a user log off?
Posted
by Ovesh
on Super User
See other posts from Super User
or by Ovesh
Published on 2010-02-18T07:06:43Z
Indexed on
2010/03/30
3:03 UTC
Read the original article
Hit count: 311
scheduled-tasks
I set a new scheduled task to start "when my computer starts". I assigned an Administrator user to run the task. This is an executable that is supposed to run indefinitely in the background.
The problem is, that if the Administrator logs in and then logs off, the task stops running.
Is there a solution for this?
UPDATE: this was caused because the task running was in java. See my own solution.
© Super User or respective owner