I am trying to create a task using task scheduler that can open a specific webpage using firefox and for example I am trying to launch google at a specific time. The command that I try to run is
SchTasks /CREATE /SC WEEKLY /TN google1 /TR "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" www.google.com /ST 21:38
But it gives me an error message
ERROR: Invalid argument/option - 'www.google.com'.
Type "SCHTASKS /CREATE /?" for usage.
I tried just the URL and it could not pull up the application with which the URL was supposed to open and hence specified the path for Firefox. Any clues on how this can be resolved?
Thanks