batch-filescheduled-tasksscheduling

How to schedule a batch script file biweekly?


I have batch file which calls multiple batch files within itself. I need this file to run biweekly (Friday's 10 A.M) when a file drops in a specific path.

I checked the Windows task scheduler but it doesn't have biweekly option. I think we can use the trigger option (to fire when the file drops in the path) to start this batch file but not sure how to do it.


Solution

  • In the Task Scheduler, if you set the schedule to Weekly you can then set "Recur every:" to 2. Tick the Friday box only, and set the Start time to 10:00:00.

    As for detecting when a file is dropped, I don't think you can from there because it's only looking for system events.