title: Stop a recurring trigger in Windows Task Scheduler until the next day
body: <p>We have scheduled a Windows Task to kick off some custom code (as an executable) that checks for existence of a file every 15 minutes. </p>
  
  <p>If the file is eventually found, our service does some processing on it. Here's the rub: after the file is processed, the business requires that Task Scheduler stops these 15-minute checks until the next day. </p>
  
  <p>Is there a way to insert logic into Windows Task Scheduler to stop running its trigger once some condition is met? Or is there a better way to architect this process? </p>
  
  <p>We are using Windows Server 2008 R2 Standard SP1 to run this. </p>