I am using a Windows PC. I want the computer to run a Julia program automatically every time it is woken up. I could use Windows’ Task Scheduler to do this, but it wasn’t perfect. That’s because I found that the program didn’t run automatically unless I shut it down and turned it back on; And when I put the computer to Hibernate and then wake it up, the program doesn’t run automatically. I want to make the program run automatically in both cases, what is the best way?
I think this question is not really related to Julia and would be more appropriate in a Windows forum or general question board.
That being said, I think the Windows Task Scheduler is the correct answer but perhaps you need to play a bit more with how to trigger your script. Does this link help you?
I just typed into Google: “windows run script on wake up”
read the first 2 links to Superuser.com which both cover your answer. I found the second link to be a bit clearer so I chose that to share with you.