Hello,
I wonder if somebody could help me. I currently use the "Save As Batch File Option" to sync and then automatically shutdown my laptop each time I have finished working on files from a USB Drive. This works great. However I have recently started having this save files into my OneDrive Business folder which is fine except that given the laptop shuts down as soon as the sync is finished the laptop doesn't have chance to upload the files before shutting down. Is there a way to add a short delay to the shutdown command? It would only need to be a few minutes or so as the files I generally work on are quite small.
Hope this makes sense and thank you in advance,
Paul
Auto shutdown delay
- Posts: 1
- Joined: 18 Mar 2020
-
- Posts: 4867
- Joined: 11 Jun 2019
You can add a command to run after sync completion:
"shutdown -s -t 300"
This will shutdown after 300 seconds, 5 minutes
"shutdown -s -t 300"
This will shutdown after 300 seconds, 5 minutes