Trigger an event on task scheduler when a new file is moved/created into a particular folder


  • Hi I would like help in setting up the task scheduler in window server 2008 to run an event which is a php script when a new file is received in a particular folder. This file is copied via FTP ad moved into a particular folder. I would like every time a file arrives to trigger the script to run. There is the chance that more than one file might be received at the one time and so to keep things manageable i would like only one instance or a maximum of say two instances of this task to be created and run simultaneously. if more files are received then the task would be triggered once the first ones have completed. Can someone please help me in setting something like this up?any help would be greatly appreciated.


    Wednesday, June 25, 2014 12:26 PM


All replies