Question create a task sheduler when connected to internet

Aug 15, 2020
3
0
10
0
Hello guys!

I need to create a task in "task sheduler".
As my battery is near dead on my laptop, everytime i turn on my laptop is out of date so im looking to create a task that, everytime my laptop is conected to a network (wifi or plugged with rj45), The "hour service" from windows 7 will start running so my laptpop will update the date and synced to navigate.
Do you know how to do that?
Thanks in advanced!

PD: sorry for my english, hope you understand what im trying to do.
 

kanewolf

Titan
Moderator
Hello guys!

I need to create a task in "task sheduler".
As my battery is near dead on my laptop, everytime i turn on my laptop is out of date so im looking to create a task that, everytime my laptop is conected to a network (wifi or plugged with rj45), The "hour service" from windows 7 will start running so my laptpop will update the date and synced to navigate.
Do you know how to do that?
Thanks in advanced!

PD: sorry for my english, hope you understand what im trying to do.
This shows how to use powershell to sync time -- https://devblogs.microsoft.com/scripting/powertip-force-time-resync-with-powershell/
Here is how to schedule a task when windows connects to a network -- https://www.groovypost.com/howto/automatically-run-script-on-internet-connect-network-connection-drop/
 
Aug 15, 2020
3
0
10
0
Thanks for your reply Kanewolf,
Few days ago, before i wrote here, found your link about groovypost.com but it doesnt explain were i have to place Time service for running, my skill is not enought for understand it, sorry.
 

ASK THE COMMUNITY