3
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
Thanks for the quick update. The task is created but it still does not launch the application at the scheduled time. When I check the task on the scheduler the details to start the program looks something like this "C:\Program Files (x86)\Mozilla Firefox\firefox.exe "www.google.com" " – Abin – 2013-08-29T16:49:01.783
I realized the syntax of my first answer was incorrect and changed it since. Did you try with the last version? It shows ok in the task scheduler for me. Look at the properties > action> edit. – m4573r – 2013-08-29T16:57:01.543
Perfect!!! I did not see the update... Worked like a charm!! Thanks a lot :) – Abin – 2013-08-29T17:02:45.953