Schedule task “Wake computer” won’t stay awake…

Since our friends at Microsoft decided to remove a functional backup
solution from the workstation OS, I’m forced to use robocopy as a file backup
solution…

I have my PC set to stand bye after 1 hour.

I set my robocopy script as a scheduled task, and selected the option to
“wake computer to run this task”

When the task is scheduled to run, it wakes the PC, then, about 5 min later,
it puts the PC back to sleep…

Two problems, 1) the robocopy is not complete yet. Since I never had to use
robocopy in the past (windows has had a decent backup solution installed for
the past 7 years) I’m unsure if the robocopy is enough to keep the PC awake.

2) the REAL problem is, it puts the PC back to sleep before an hour. I have
the pc set to sleep after 1 hour of inactivity, but its putting it to sleep 5
min after the scheduled tasks starts… I don’t have this problem under normal
conditions, just when a schedule tasks wakes the PC.

Any help is greatly appreciated.