title: Run a batch file with Windows task scheduler
body: <p>I have a batch file daily.bat, this is the code:</p>
  
  <pre><code>cd C:\inetpub\wwwroot\infoweb\factuur\cron
  c:\PHP\php.exe -f ./cron_pdf.php
  ftp -s:ftp_upload.txt ftp.site.be
  </code></pre>
  
  <p>And I created a task with task scheduler in Windows 7. When I run the batch manually, everything goes fine, but when I try to run it with the task scheduler nothing happens.</p>
  
  <p>My action is </p>
  
  <pre><code>'run script' "C:\inetpub\wwwroot\site\x\cron\daily.bat"
  </code></pre>
  
  <p>UAC is off and I am Admin.</p>
  
  <p>Any idea why this is not working?</p>