How to schedule a task to call a URL
Use the Invoke-WebRequest cmdlet from Powershell.
In your task:
- Action:
Start a program
- Program/script:
powershell.exe
- Arguments:
-Command "Invoke-WebRequest http://myapp/BackgroundTask/Run"
Use the Invoke-WebRequest cmdlet from Powershell.
In your task:
Start a program
powershell.exe
-Command "Invoke-WebRequest http://myapp/BackgroundTask/Run"