Thanks to this site and others I have learned to invent a shortcut to put my Windows 10 pc to sleep. I've tried both "rundll32.exe powrprof.dll,SetSuspendState Sleep" and the same thing but with "0,1,0" instead of "Sleep". Both work fine to put my machine to sleep.
My problem is that scheduled tasks don't wake the computer when it was put to sleep with the shortcut, but do wake it if the computer was put to sleep with Start>Shut down or sign out>Sleep or Start>Power>Sleep.
Of course there is an obvious work-around: don't use the shortcut. But I would like to understand what's going on.