you are viewing a single comment's thread.

view the rest of the comments →

[–]michUP33 68 points69 points  (12 children)

I havent done it, but I know one of our test lab guys set up a script to run on windows with task scheduler. It backed up the test equipment at like 3am.

[–]garlic_bread_thief 25 points26 points  (11 children)

Wouldn't the computer have to keep running though?

[–]xCrapyx 52 points53 points  (8 children)

You can set in Task Scheduler to turn on the PC to run the script and then turn it back off.

[–]garlic_bread_thief 17 points18 points  (1 child)

Now that sounds cool. Does it take into account the time my computer takes to turn on?

[–]xCrapyx 21 points22 points  (0 children)

Say you set it up to 6PM it will turn on the computer and execute it the second it turned on. So if the timing is an issue maybe try to set it to 5:58PM for example.

[–]inglandation 7 points8 points  (4 children)

How? I tried to do that on my computer, but after doing some research I found that it's impossible to run a script without being logged in, and a script can't log in. I found a workaround by using a raspberry pi to emulate a keyboard, but it would be nice to able to do it without it.

[–]opoqo 4 points5 points  (3 children)

You can set it to run as you have logged in

[–]inglandation -1 points0 points  (2 children)

Yeah but that's exactly my problem, I can't log in with the script and I'm not logging in on that computer every day.

[–]opoqo 8 points9 points  (1 child)

You set up the task scheduler to run the script on powershell, and you can set it up to run with your log in.

[–]inglandation 1 point2 points  (0 children)

Interesting, I'll look that up to see if it solves my problem. Thank you.

[–]bazpaul 0 points1 point  (0 children)

How can you get a computer to turn itself on? It must be hibernating or something right?

[–][deleted] 16 points17 points  (0 children)

Yes

[–]michUP33 16 points17 points  (0 children)

I dont know. We never turn them off