I have a scheduled task to rebuild site cache every 10 minutes, and I use powershell to do so. However it's annoying when the powershell command promt pops up while im in middle of something, so I was wondering if it's possible to automatically run it in the background so it doesnt interrupt anything. If not, is there any other command I can use to run a webpage without interrupting?
Heres my line
powershell -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadString(\"http://localhost/rebuildcache.php\")"