1

I've been wrangled into the world of Windows system administration. Coming from a Linux sysadmin background, I am looking for the best way to copy a file to a directory at a specific time. (Change management requires us to copy the file in a certain window of time.) I know Windows has a Task Scheduler. Is that the best tool to use to copy my file?

Using Windows Server 2003.

aus
  • 133
  • 4

3 Answers3

2

I use it exclusively in Windows to schedule tasks, mainly because Windows systems never seem to have any set of "standard" tools that admins install. Windows Scheduled Tasks Manager does the job. It has a command line utility as well and you can count on it being installed on every machine. I say it's the best bet, but would love to hear other opinions.

Just make sure your service accounts have the rights you need. The windows default service accounts typically have ZERO network access capabilities, so if your copy is across network shares you could be screwed.

Jeffery Smith
  • 374
  • 1
  • 5
1

Robocopy and the windows scheduler will do that just fine. Also be sure that the time is properly set and synchronised on the servers if they 're not part of an active directory domain.

Maxwell
  • 5,076
  • 1
  • 26
  • 31
1

Setting a scheduled to task to run a .bat file at a certain time would probably suffice. As JS mentioned, make sure your account has the correct permissions to copy the file and to write inside the folder that you are copying it to.

cop1152
  • 2,656
  • 3
  • 21
  • 32