Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to ftp files (get and put) between two windows pcs. I have written the batch script to automatically do the ftp. But presently one needs to keep running it to do the puts and gets. Is there a way that I can get it to remain running between two set times (say 9am and 1pm) doing its gets and puts), then sleep/rest for a certain interval (say 5mins) then get and put all over again?

Thanks

share|improve this question

migrated from stackoverflow.com Oct 19 '12 at 21:53

This question came from our site for professional and enthusiast programmers.

You can use the Task Scheduler to keep running your batch file at designated times or at set intervals.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.