0

I have an nginx server installed on Windows Server and I am wondering how can I run a PHP script using scheduled tasks or at every minute? Also how can I use include() within that script? Will including dirname(__FILE__); before the include path work the same way as it does with cron?

  • If you want to run `Scheduled Tasks` on windows look up `Task Scheduler` in `Control panel -> Administative Tools` – RiggsFolly Aug 05 '13 at 12:12
  • I know where to find them, I know how to use Windows... – user2651361 Aug 05 '13 at 13:04
  • I now realise you dont need any help but just because I cannot help myself, this post may be of some small assistance, just to jog your memory of course. http://stackoverflow.com/questions/4249542/windows-scheduler-to-run-a-task-every-x-minutes – RiggsFolly Aug 05 '13 at 13:51
  • Way to be a douche, I guess I'll have to find out for myself since no tutorials on how to do it exist. – user2651361 Aug 05 '13 at 15:35
  • 1
    Thanks for being such a pleasant human being. It's likely you have already found this but just in case here's a microsoft technet tutorial http://technet.microsoft.com/en-us/library/cc721871.aspx – RiggsFolly Aug 06 '13 at 07:42

0 Answers0