Windows 7 schedule job now able to support Power Shell script which you can code in more complicated C# logic. I have a requirement want to download a source file (i.e. price list) from internet to my desktop everyday for some comparison or other purpose. It can be also download just a pure html file for reading novel episode everyday, hehe.. So, you must download the file then rename to other just in case overwrite the previous file.
//if you are behind proxy $credentials = new-object System.Net.NetworkCredential('username','password'); $proxy = new-object System.Net.WebProxy('http://your-proxy:80'); $proxy.Credentials = $credentials; $client = new-object System.Net.WebClient; $client.Proxy = $proxy; $client.DownloadFile('http://yourwebsite.com/filename.pdf','G:\desktop\filename.pdf'); $file = 'filename'+(get-date).ToString('yyyyMMdd')+'.pdf'; ren 'G:\desktop\filename.pdf' $file
**join all lines into one line as the parameter input in schedule screen, and caution, the single line not recognize double quote, please use single quote in all your string input**