G
Guest
I have a task to run an executable. I have it set to run whether the user is
logged in or not, run with the highest privileges, wake the computer to run
this task, stop the task if it runs longer than 8 hours. It runs at 1am. The
task wakes the computer up at 1am fine, starts the executable, then puts the
computer back to sleep without waiting for the executable (a VS2005 SP1 C#
program I created) to complete. When I wake the computer in the morning, the
executable resumes.
What is up with this? Why can't the task scheduler wait until the task it
spawned finishes? My vista installation was an upgrade from XP Pro. But I
created the task (several times) from scratch in Vista. I also recompiled the
executable in Vista.
I have also tried the task in both "Windows Server 2003, Windows XP, or
Windows 2000" mode and in "Windows Vista" mode.
This is a huuuuuge step backward for me. I would appreciate any help anyone
can offer for this.
logged in or not, run with the highest privileges, wake the computer to run
this task, stop the task if it runs longer than 8 hours. It runs at 1am. The
task wakes the computer up at 1am fine, starts the executable, then puts the
computer back to sleep without waiting for the executable (a VS2005 SP1 C#
program I created) to complete. When I wake the computer in the morning, the
executable resumes.
What is up with this? Why can't the task scheduler wait until the task it
spawned finishes? My vista installation was an upgrade from XP Pro. But I
created the task (several times) from scratch in Vista. I also recompiled the
executable in Vista.
I have also tried the task in both "Windows Server 2003, Windows XP, or
Windows 2000" mode and in "Windows Vista" mode.
This is a huuuuuge step backward for me. I would appreciate any help anyone
can offer for this.