In the first 3 parts of this series, we learned how to use Windows built-in task scheduler to automate tasks like disk defragmentation on your PC. If you haven’t read those articles on how to use task scheduling yet, click below to check them out.
Now, as I promised at the beginning of the tutorial, here are the paths and arguments to run some useful and cool tasks.
Shutdown and restart the computer:
To shutdown: -s –t 00 / To restart: -r –t 00
Path: “C:\Program Files (x86)\CCleaner\CCleaner.exe” – Don’t forget the inverted commas! “
Backup Documents folder (Works for any folder)
Arguments: /e /y “C:\Users\Admin\Documents” C:\BackupFolder – Inside the inverted commas is the location of the folder whose content you want to back up, outside is the destination of backed up files.
Open a custom session in Chrome or Firefox
Path: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” – In case of Firefox, replace for the firefox.exe path.
Arguments: the pages you want to open automatically e.g. worldstart.com
I hope you have enjoyed this tutorial and hey! If you have another good use for the task scheduler, share it with the user community, let’s simplify everything!
~~ Hernan Escalante