- Jul 2, 2012
- 8,173
- 524
- 126
I have a scheduled task on my home network's Window Server 2008 R2 file server that runs a batch file which uses the curl utility to retrieve a remote PDF document. The document is the front page of a newspaper, posted daily to newseum.org. The document is placed online any time between about 4AM and 1PM or so, so I run the task every 15 minutes and the batch file exits if the page has already been retrieved. I save the file to a local Dropbox folder, so that I can view it from my other computers.
What is happening is that the document is not being saved to the Dropbox folder until I remotely log on to the server using RDP. It appears to have already been retrieved, since the file's modtime varies and is typically many hours old. For example, at about 11AM today looked in the Dropbox folder for today's newspaper. It wasn't there, so I RDP'd into the server. It then immediately showed up in the Dropbox folder with a timestamp of 6:15AM.
I run the scheduled task as a user who is a system Administrator. I have 'Run whether user is logged on or not' and 'Run with highest privileges' both checked. It also stores the user's password.
Any ideas what may be going on?
What is happening is that the document is not being saved to the Dropbox folder until I remotely log on to the server using RDP. It appears to have already been retrieved, since the file's modtime varies and is typically many hours old. For example, at about 11AM today looked in the Dropbox folder for today's newspaper. It wasn't there, so I RDP'd into the server. It then immediately showed up in the Dropbox folder with a timestamp of 6:15AM.
I run the scheduled task as a user who is a system Administrator. I have 'Run whether user is logged on or not' and 'Run with highest privileges' both checked. It also stores the user's password.
Any ideas what may be going on?